| Subject | Re: [PATCH 15/23] hugetlb/userfaultfd: Hook page faults for uffd write protection | From | Mike Kravetz <> | Date | Wed, 21 Apr 2021 15:02:36 -0700 |
| |
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
|