diff options
author | Mike Rapoport <rppt@linux.vnet.ibm.com> | 2017-02-23 00:43:37 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-23 01:41:28 +0100 |
commit | cfda05267f7bd02b5ae5ac6a37fbbdf3b9c41b57 (patch) | |
tree | f814ac2bbd56245fc6f0b0d420afdd67ebe097bc /fs/udf/osta_udf.h | |
parent | userfaultfd: shmem: use shmem_mcopy_atomic_pte for shared memory (diff) | |
download | linux-cfda05267f7bd02b5ae5ac6a37fbbdf3b9c41b57.tar.xz linux-cfda05267f7bd02b5ae5ac6a37fbbdf3b9c41b57.zip |
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 'fs/udf/osta_udf.h')
0 files changed, 0 insertions, 0 deletions