ARC, anyone?
ARC, anyone?
Posted Mar 6, 2026 17:39 UTC (Fri) by hnaz (subscriber, #67104)In reply to: ARC, anyone? by PeeWee
Parent article: Reconsidering the multi-generational LRU
> And there is also refault distance tracking, though it seems to be limited to file pages
There actually is shadow tracking for swap-backed pages. On classic LRU, swapbacked memory starts out on inactive list, just like file. It provides the same workingset protection against bulk accesses with low locality (e.g. a scan through a large, cold, mostly swapped out anon segment).
You can observe the shadow list hits through /proc/vmstat::workingset_*.
