[1/2] powerpc/mm/books3s: Add new pte bit to mark pte temporarily invalid.

Michael Ellerman patch-notifications at ellerman.id.au
Fri Aug 24 00:18:42 AEST 2018


On Wed, 2018-08-22 at 17:16:04 UTC, "Aneesh Kumar K.V" wrote:
> When splitting a huge pmd pte, we need to mark the pmd entry invalid. We
> can do that by clearing _PAGE_PRESENT bit. But then that will be taken as a
> swap pte. In order to differentiate between the two use a software pte bit
> when invalidating.
> 
> For regular pte, due to bd5050e38aec ("powerpc/mm/radix: Change pte relax
> sequence to handle nest MMU hang") we need to mark the pte entry invalid when
> relaxing access permission. Instead of marking pte_none which can result in
> different page table walk routines possibly skipping this pte entry, invalidate
> it but still keep it marked present.
> 
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.ibm.com>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/bd0dbb73e01306a1060e56f81e5fe2

cheers


More information about the Linuxppc-dev mailing list