]> Git Repo - linux.git/commit - mm/gup.c
userfaultfd: hugetlbfs: gup: support VM_FAULT_RETRY
authorAndrea Arcangeli <[email protected]>
Wed, 22 Feb 2017 23:43:13 +0000 (15:43 -0800)
committerLinus Torvalds <[email protected]>
Thu, 23 Feb 2017 00:41:28 +0000 (16:41 -0800)
commit87ffc118b54dcd4cc642723603d944673248152f
treeef5ff9a70c12b331985148ebab7629a73984c841
parent369cd2121be440543280b91056de187f625d0dbb
userfaultfd: hugetlbfs: gup: support VM_FAULT_RETRY

Add support for VM_FAULT_RETRY to follow_hugetlb_page() so that
get_user_pages_unlocked/locked and "nonblocking/FOLL_NOWAIT" features
will work on hugetlbfs.

This is required for fully functional userfaultfd non-present support on
hugetlbfs.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Andrea Arcangeli <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Cc: "Dr. David Alan Gilbert" <[email protected]>
Cc: Hillf Danton <[email protected]>
Cc: Michael Rapoport <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/hugetlb.h
mm/gup.c
mm/hugetlb.c
This page took 0.058737 seconds and 4 git commands to generate.