[PATCH v2] powerpc/64s: add pte_needs_flush and huge_pmd_needs_flush
Michael Ellerman
patch-notifications at ellerman.id.au
Fri Sep 23 21:13:33 AEST 2022
On Thu, 1 Sep 2022 21:03:34 +1000, Nicholas Piggin wrote:
> Allow PTE changes to avoid flushing the TLB when access permissions are
> being relaxed, the dirty bit is being set, and the accessed bit is being
> changed.
>
> Relaxing access permissions and setting dirty and accessed bits do not
> require a flush because the MMU will re-load the PTE and notice the
> updates (it may also cause a spurious fault).
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/64s: add pte_needs_flush and huge_pmd_needs_flush
https://git.kernel.org/powerpc/c/b11931e9adc1a439eab75c97ca4b9f15754cdcb1
cheers
More information about the Linuxppc-dev
mailing list