diff options
author | Joonsoo Kim <[email protected]> | 2020-06-25 20:30:37 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-06-26 00:27:38 -0700 |
commit | 0076f029cb2906d32baf3bf4401ef09663071d16 (patch) | |
tree | f802cfcf449f056fa1a86dc3491c2bd0caf67f72 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | cb6868832ede5cd73b346ec11cf89814d26ff7c7 (diff) |
mm/memory: fix IO cost for anonymous page
With synchronous IO swap device, swap-in is directly handled in fault
code. Since IO cost notation isn't added there, with synchronous IO
swap device, LRU balancing could be wrongly biased. Fix it to count it
in fault code.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 314b57fb0460001 ("mm: balance LRU lists based on relative thrashing cache sizing")
Signed-off-by: Joonsoo Kim <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Rik van Riel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions