[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
https://git.kernel.org/powerpc/c/773b93f1d1c38c5c0d5308b8c9229c7a6ec5b2a0
[2/2] powerpc/book3s64: Avoid __pte_protnone() check in __pte_flags_need_flush()
https://git.kernel.org/powerpc/c/a59c14f6b4caad7671dfb81737beba0b313897e4
cheers
More information about the Linuxppc-dev
mailing list