summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorPavel Emelyanov2017-02-23 00:42:21 +0100
committerLinus Torvalds2017-02-23 01:41:28 +0100
commit9cd75c3cd4c3d06aa0c4ed8ef5327d811a8b6cff (patch)
treed1a58d5498d477fe285205b6b06587a820b76559 /Documentation
parentuserfaultfd: non-cooperative: Split the find_userfault() routine (diff)
downloadkernel-qcow2-linux-9cd75c3cd4c3d06aa0c4ed8ef5327d811a8b6cff.tar.gz
kernel-qcow2-linux-9cd75c3cd4c3d06aa0c4ed8ef5327d811a8b6cff.tar.xz
kernel-qcow2-linux-9cd75c3cd4c3d06aa0c4ed8ef5327d811a8b6cff.zip
userfaultfd: non-cooperative: add ability to report non-PF events from uffd descriptor
The custom events are queued in ctx->event_wqh not to disturb the fast-path-ed PF queue-wait-wakeup functions. The events to be generated (other than PF-s) are requested in UFFD_API ioctl with the uffd_api.features bits. Those, known by the kernel, are then turned on and reported back to the user-space. Link: http://lkml.kernel.org/r/20161216144821.5183-7-aarcange@redhat.com Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com> Cc: Hillf Danton <hillf.zj@alibaba-inc.com> Cc: Michael Rapoport <RAPOPORT@il.ibm.com> Cc: Mike Kravetz <mike.kravetz@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions