aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKinsey Ho <[email protected]>2024-02-14 06:05:38 +0000
committerAndrew Morton <[email protected]>2024-02-22 10:24:58 -0800
commit4acef5694e01a2d7de3066e9a6005d485b4374b9 (patch)
tree9f78eeacb69f8ebbf125ade0d477324616ee9cbd /tools/perf/scripts/python
parentcc25bbe10a86a7fe3ec8468fb01e579e6216d7e1 (diff)
mm/mglru: improve swappiness handling
The reclaimable number of anon pages used to set initial reclaim priority is only based on get_swappiness(). Use can_reclaim_anon_pages() to include NUMA node demotion. Also move the swappiness handling of when !__GFP_IO in try_to_shrink_lruvec() into isolate_folios(). Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Kinsey Ho <[email protected]> Cc: Aneesh Kumar K.V <[email protected]> Cc: Donet Tom <[email protected]> Cc: Yu Zhao <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions