Re: [PATCH] userfaultfd/selftests: clean up hugetlb allocation code

From: Mike Kravetz
Date: Tue Jan 04 2022 - 19:24:20 EST


On 1/4/22 14:35, Axel Rasmussen wrote:
> On Mon, Jan 3, 2022 at 6:17 PM Mike Kravetz <mike.kravetz@xxxxxxxxxx> wrote:
>
> Looks functionally correct to me besides the one style gripe,
>
> Reviewed-by: Axel Rasmussen <axelrasmussen@xxxxxxxxxx>

Thanks Axel!

The userfaultfd test is not so easy to follow. While looking at this, I
noticed that we skip the mremap() testing for hugetlb. However, Mina recently
added hugetlb mremap support. Unfortunately, mremap hugetlb testing fails
if enabled. I am still trying to determine the root cause, but would like
to eliminate this special case if possible.
--
Mike Kravetz