[$] LRU-list manipulation with DAMON

Post Syndicated from original https://lwn.net/Articles/905370/

The DAMON
subsystem, which entered the
kernel during the 5.15 release cycle, uses various heuristics to determine
which pages of memory are in active use. Since the beginning, the intent
has been to use this information to influence memory management. The 6.0
kernel contains another step in this direction, giving DAMON the ability to
actively reorder pages on the kernel’s least-recently-used (LRU) lists.