Re: [PATCH] mm/uffd: Hide PTE_MARKER option

From: Johannes Weiner
Date: Wed Apr 20 2022 - 11:32:31 EST


On Tue, Apr 19, 2022 at 04:25:31PM -0400, Peter Xu wrote:
> The PTE_MARKER option should not need to be exposed to the kernel builder,
> keep it internal and remove the prompt so it won't be seen.
>
> Instead, make the PTE_MARKER_UFFD_WP option to explicitly choose PTE_MARKER
> when necessary.
>
> While PTE_MARKER_UFFD_WP will still prompt to user, change the wording so
> that it'll not mention PTE_MARKER at all but renaming it to "Userfaultfd
> write protection support for shmem/hugetlbfs".
>
> Reported-by: Johannes Weiner <hannes@xxxxxxxxxxx>
> Signed-off-by: Peter Xu <peterx@xxxxxxxxxx>

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>

Thank you Peter