On Fri, Dec 27, 2024 at 04:31:48PM +0530, Donet Tom wrote:Thanks. I will take a look at it.
folio_mark_accessed may not be the best place to interpose for MGLRU,folio_clear_referenced(folio);In the current implementation, promotion will not work if we enable MGLRU,
workingset_activation(folio);
+ } else {
+
right?
Is there any specific reason we are not enabling promotion with MGLRU?
since MGLRU's semantics are so different. I didn't want to dive that
deep until I could show traditional LRU benefit.
Certainly open to ideas if you're familiar with MGLRU semantics.
~Gregory