diff options
| author | Chengming Zhou <[email protected]> | 2024-02-04 03:06:01 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-02-22 10:24:54 -0800 |
| commit | b49547ade38a63ff39c9fbc53fb38622cb63854a (patch) | |
| tree | dda6b34e05378084c6d75a45245d48b21ad8fc50 /tools/perf/scripts/python | |
| parent | 0827a1fb143fae588cb6f5b9a97c405d6c2ddec9 (diff) | |
mm/zswap: stop lru list shrinking when encounter warm region
When the shrinker encounter an existing folio in swap cache, it means we
are shrinking into the warmer region. We should terminate shrinking if
we're in the dynamic shrinker context.
This patch add LRU_STOP to support this, to avoid overshrinking.
Link: https://lkml.kernel.org/r/20240201-b4-zswap-invalidate-entry-v2-3-99d4084260a0@bytedance.com
Signed-off-by: Chengming Zhou <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Acked-by: Nhat Pham <[email protected]>
Reviewed-by: Yosry Ahmed <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions