Thread (41 messages) 41 messages, 6 authors, 2022-06-19

Re: [PATCH v11 07/14] mm: multi-gen LRU: exploit locality in rmap

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2022-06-08 15:52:16
Also in: linux-doc, linux-mm, lkml

On Tue, Jun 7, 2022 at 5:43 PM Barry Song [off-list ref] wrote:
Given we used to have a flush for clear pte young in LRU, right now we are
moving to nop in almost all cases for the flush unless the address becomes
young exactly after look_around and before ptep_clear_flush_young_notify.
It means we are actually dropping flush. So the question is,  were we
overcautious? we actually don't need the flush at all even without mglru?
We stopped flushing the TLB on A bit clears on x86 back in 2014.

See commit b13b1d2d8692 ("x86/mm: In the PTE swapout page reclaim case
clear the accessed bit instead of flushing the TLB").

               Linus

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help