Thread (3 messages) flat view 3 messages, 2 authors, 2020-11-08

Re: [PATCH v2 1/2] powerpc/8xx: Always fault when _PAGE_ACCESSED is not set

From: Michael Ellerman <hidden>
Date: 2020-11-08 10:29:44
Also in: lkml

On Mon, 12 Oct 2020 08:54:31 +0000 (UTC), Christophe Leroy wrote:
The kernel expects pte_young() to work regardless of CONFIG_SWAP.

Make sure a minor fault is taken to set _PAGE_ACCESSED when it
is not already set, regardless of the selection of CONFIG_SWAP.

This adds at least 3 instructions to the TLB miss exception
handlers fast path. Following patch will reduce this overhead.

[...]
Applied to powerpc/fixes.

[1/2] powerpc/8xx: Always fault when _PAGE_ACCESSED is not set
      https://git.kernel.org/powerpc/c/29daf869cbab69088fe1755d9dd224e99ba78b56
[2/2] powerpc/8xx: Manage _PAGE_ACCESSED through APG bits in L1 entry
      https://git.kernel.org/powerpc/c/33fe43cfd9b1c20f6f9899b44bf04e91823ff1c9

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