Thread (7 messages) 7 messages, 5 authors, 2018-08-23

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

flat view

From: Michael Ellerman <hidden>
Date: 2018-08-23 14:18:43

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 <redacted>
Series applied to powerpc next, thanks.

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

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help