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

Mike Kravetz
2021-04-22T19:01:23Z

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@redhat.com>
> ---
> 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@oracle.com>
--
Mike Kravetz