Re: [PATCH 15/23] hugetlb/userfaultfd: Hook page faults for uffd write protection

Mike Kravetz
2021-04-21T22:04:39Z

On 3/22/21 5:49 PM, Peter Xu wrote:
> 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.
>
> Signed-off-by: Peter Xu <peterx@redhat.com>
> ---
> mm/hugetlb.c | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)

That is pretty straight forward,

Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
--
Mike Kravetz