summaryrefslogtreecommitdiffstats
path: root/mm/userfaultfd.c
diff options
context:
space:
mode:
authorMike Rapoport2017-09-07 01:23:02 +0200
committerLinus Torvalds2017-09-07 02:27:28 +0200
commit8d10396342063c79e92c4e46215370ab7b988569 (patch)
treec0cae3f4c634b760704f3fd8469f04213dc58fe4 /mm/userfaultfd.c
parentshmem: introduce shmem_inode_acct_block (diff)
downloadkernel-qcow2-linux-8d10396342063c79e92c4e46215370ab7b988569.tar.gz
kernel-qcow2-linux-8d10396342063c79e92c4e46215370ab7b988569.tar.xz
kernel-qcow2-linux-8d10396342063c79e92c4e46215370ab7b988569.zip
userfaultfd: shmem: add shmem_mfill_zeropage_pte for userfaultfd support
shmem_mfill_zeropage_pte is the low level routine that implements the userfaultfd UFFDIO_ZEROPAGE command. Since for shmem mappings zero pages are always allocated and accounted, the new method is a slight extension of the existing shmem_mcopy_atomic_pte. Link: http://lkml.kernel.org/r/1497939652-16528-4-git-send-email-rppt@linux.vnet.ibm.com Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Hillf Danton <hillf.zj@alibaba-inc.com> Cc: Hugh Dickins <hughd@google.com> Cc: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions