Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
hugetlb/userfaultfd: Hook page faults for uffd write protection
Hook up hugetlbfs_fault() with the capability to handle userfaultfd-wp faults. We do this slightly earlier than hugetlb_cow() so that we can avoid taking some extra locks that we definitely don't need. Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com> Signed-off-by: Peter Xu <peterx@redhat.com>
- Loading branch information