diff options
author | Mel Gorman <[email protected]> | 2011-10-31 17:09:33 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-10-31 17:30:50 -0700 |
commit | e0c23279c9f800c403f37511484d9014ac83adec (patch) | |
tree | 9dcf058d3d1c691328ea5839dfe9c340e47ee3fa /tools/perf/scripts/python/check-perf-trace.py | |
parent | e0887c19b2daa140f20ca8104bdc5740f39dbb86 (diff) |
vmscan: abort reclaim/compaction if compaction can proceed
If compaction can proceed, shrink_zones() stops doing any work but its
callers still call shrink_slab() which raises the priority and potentially
sleeps. This is unnecessary and wasteful so this patch aborts direct
reclaim/compaction entirely if compaction can proceed.
Signed-off-by: Mel Gorman <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Reviewed-by: Minchan Kim <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Josh Boyer <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions