diff options
| author | Zhongkun He <hezhongkun.hzk@bytedance.com> | 2025-04-21 17:13:31 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-05-12 23:50:36 -0700 |
| commit | a73dbc851cbc5aed70477cfbfbdae7ea2d3fcea4 (patch) | |
| tree | ee3ef3fc49853d99965e10d643b0b0e277641e50 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | mm: add max swappiness arg to lru_gen for anonymous memory only (diff) | |
| download | linux-a73dbc851cbc5aed70477cfbfbdae7ea2d3fcea4.tar.gz linux-a73dbc851cbc5aed70477cfbfbdae7ea2d3fcea4.zip | |
mm: use SWAPPINESS_ANON_ONLY in MGLRU
Using SWAPPINESS_ANON_ONLY instead of MAX_SWAPPINESS + 1 to indicate
reclaiming only from anonymous pages makes the code more readable and
explicit.
Add some comment in the SWAPPINESS_ANON_ONLY context.
Link: https://lkml.kernel.org/r/529db7ae6098ee712b81e4df290622e4e64ac50c.1745225696.git.hezhongkun.hzk@bytedance.com
Signed-off-by: Zhongkun He <hezhongkun.hzk@bytedance.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Yosry Ahmed <yosry.ahmed@linux.dev>
Cc: Yu Zhao <yuzhao@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
