diff options
author | Mike Rapoport <rppt@linux.vnet.ibm.com> | 2017-02-23 02:43:37 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-23 03:41:28 +0300 |
commit | cfda05267f7bd02b5ae5ac6a37fbbdf3b9c41b57 (patch) | |
tree | f814ac2bbd56245fc6f0b0d420afdd67ebe097bc /tools | |
parent | 26071cedc519b822f69cc42dba9be969d2cdeb19 (diff) | |
download | linux-cfda05267f7bd02b5ae5ac6a37fbbdf3b9c41b57.tar.xz |
userfaultfd: shmem: add userfaultfd hook for shared memory faults
When processing a page fault in shared memory area for not present page,
check the VMA determine if faults are to be handled by userfaultfd. If
so, delegate the page fault to handle_userfault.
Link: http://lkml.kernel.org/r/20161216144821.5183-33-aarcange@redhat.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>
Cc: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions