[PATCH v2 1/2] powerpc/book3s/hash: Drop _PAGE_PRIVILEGED from PAGE_NONE

Michael Ellerman patch-notifications at ellerman.id.au
Thu Dec 21 21:43:16 AEDT 2023

On Mon, 04 Dec 2023 15:06:37 +0530, aneesh.kumar at kernel.org wrote:
> There used to be a dependency on _PAGE_PRIVILEGED with pte_savedwrite.
> But that got dropped by
> commit 6a56ccbcf6c6 ("mm/autonuma: use can_change_(pte|pmd)_writable() to replace savedwrite")
> With the change in this patch numa fault pte (pte_protnone()) gets mapped as regular user pte
> with RWX cleared (no-access) whereas earlier it used to be mapped _PAGE_PRIVILEGED.
> [...]

Applied to powerpc/next.

[1/2] powerpc/book3s/hash: Drop _PAGE_PRIVILEGED from PAGE_NONE
[2/2] powerpc/book3s64: Avoid __pte_protnone() check in __pte_flags_need_flush()


More information about the Linuxppc-dev mailing list