mm-multi-gen-lru-debugfs-interface.patch removed from -mm tree
The quilt patch titled
Subject: mm: multi-gen LRU: debugfs interface
has been removed from the -mm tree. Its filename was
mm-multi-gen-lru-debugfs-interface.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Yu Zhao <[email protected]>
Subject: mm: multi-gen LRU: debugfs interface
Date: Sun, 18 Sep 2022 02:00:09 -0600
Add /sys/kernel/debug/lru_gen for working set estimation and proactive reclaim. These techniques are commonly used to optimize job scheduling (bin packing) in data centers [1][2].
Compared with the page table-based approach and the PFN-based approach, this lruvec-based approach has the following advantages:
1. It offers better choices because it is aware of memcgs, NUMA nodes, shared mappings and unmapped page cache.
2. It is more scalable because it is O(nr_hot_pages), whereas the PFN-based approach is O(nr_total_pages).
Add /sys/kernel/debug/lru_gen_full for debugging.
[1] https://dl.acm.org/doi/10.1145/3297858.3304053
[2] https://dl.acm.org/doi/10.1145/3503222.3507731
---
include/linux/nodemask.h | 1 mm/vmscan.c | 411 ++++++++++++++++++++++++++++++++++++- 2 files changed, 402 insertions(+), 10 deletions(-)
include/linux/nodemask.h renamed from include/linux/nodemask.h~mm-multi-gen-lru-debugfs-interface +1 -0
@@ -493,6 +493,7 @@ static inline int num_node_state(enum no#define first_online_node 0#define first_memory_node 0#define next_online_node (nid) (MAX_NUMNODES) +#define next_memory_node (nid) (MAX_NUMNODES)#define nr_node_ids 1U#define nr_online_nodes 1U
mm/vmscan.c renamed from mm/vmscan.c~mm-multi-gen-lru-debugfs-interface +401 -10
489 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are