On 3/22/21 5:49 PM, Peter Xu wrote: > This is to let hugetlbfs be prepared to also recognize swap special ptes just > like uffd-wp special swap ptes. > > Signed-off-by: Peter Xu <peterx@xxxxxxxxxx> > --- > mm/hugetlb.c | 23 +++++++++++++++++++++-- > 1 file changed, 21 insertions(+), 2 deletions(-) The multiple uses of swap entries can be confusing. Thanks for the additional comments in the original userfaultfd wp code. Reviewed-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx> -- Mike Kravetz