Re: [PATCH for 5.4] powerpc/603: Always fault when _PAGE_ACCESSED is not set

2020-11-17 Thread Greg KH
On Mon, Nov 09, 2020 at 05:40:52PM +, Christophe Leroy wrote: > [That is backport of 11522448e641e8f1690c9db06e01985e8e19b401 to linux 5.4] > > 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

[PATCH for 5.4] powerpc/603: Always fault when _PAGE_ACCESSED is not set

2020-11-09 Thread Christophe Leroy
[That is backport of 11522448e641e8f1690c9db06e01985e8e19b401 to linux 5.4] 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. Fixes: 84de6ab0e904 ("power