diff options
author | T.J. Alumbaugh <talumbau@google.com> | 2023-01-18 00:18:21 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-02 22:33:26 -0800 |
commit | 7b8144e63d84716f16a1b929e0c7e03ae5c4d5c1 (patch) | |
tree | 2fae6ecc7f9c29d6654fbffe929d53147c355010 /mm/vmscan.c | |
parent | b2db9ef2c0926ba86898136704cdc757c7a5a60a (diff) | |
download | linux-rpi-7b8144e63d84716f16a1b929e0c7e03ae5c4d5c1.tar.gz linux-rpi-7b8144e63d84716f16a1b929e0c7e03ae5c4d5c1.tar.bz2 linux-rpi-7b8144e63d84716f16a1b929e0c7e03ae5c4d5c1.zip |
mm: multi-gen LRU: section for working set protection
Patch series "mm: multi-gen LRU: improve".
This patch series improves a few MGLRU functions, collects related
functions, and adds additional documentation.
This patch (of 7):
Add a section for working set protection in the code and the design doc.
The admin doc already contains its usage.
Link: https://lkml.kernel.org/r/20230118001827.1040870-1-talumbau@google.com
Link: https://lkml.kernel.org/r/20230118001827.1040870-2-talumbau@google.com
Signed-off-by: T.J. Alumbaugh <talumbau@google.com>
Cc: Yu Zhao <yuzhao@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 394ff4962cbc..a741765896b6 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -4475,6 +4475,10 @@ done: return true; } +/****************************************************************************** + * working set protection + ******************************************************************************/ + static bool lruvec_is_sizable(struct lruvec *lruvec, struct scan_control *sc) { int gen, type, zone; |