Re: [PATCH 18/23] mm/hugetlb: Introduce huge version of special swap pte helpers

From: Mike Kravetz
Date: Thu Apr 22 2021 - 15:01:24 EST


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