Re: [PATCH] mm: Move set_pxd_safe() helpers from generic to platform

From: Dave Hansen
Date: Fri Sep 20 2024 - 01:49:51 EST


On 9/19/24 22:30, Anshuman Khandual wrote:
> set_pxd_safe() helpers that serve a specific purpose for both x86 and riscv
> platforms, do not need to be in the common memory code. Otherwise they just
> unnecessarily make the common API more complicated. This moves the helpers
> from common code to platform instead.

I just did a quick grep and don't see any difference between the _safe
and normal variants. A quick grep didn't turn up any actual users.

Did anyone actually double check that these are still needed on x86 in
the first place?