aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorWeijie Yang <[email protected]>2014-04-07 15:37:00 -0700
committerLinus Torvalds <[email protected]>2014-04-07 16:35:50 -0700
commit9bbc04eeb01fcb5c20bb10f34989665df7200163 (patch)
treebafb3ff4118bb08c96f2a584c6cdee59aa873a4d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent619d0d76c1ee943f171c7d4fc021ec7602388579 (diff)
mm/vmscan: do not check compaction_ready on promoted zones
We abort direct reclaim if we find the zone is ready for compaction. Sometimes the zone is just a promoted highmem zone to force a scan of highmem, which is not the intended zone the caller want to allocate a page from. In this situation, setting aborted_reclaim to indicate the caller turned back to retry the allocation is waste of time and could cause a loop in __alloc_pages_slowpath(). This patch does not check compaction_ready() on promoted zones to avoid the above situation. Only set aborted_reclaim if the caller intended zone is ready for compaction. Signed-off-by: Weijie Yang <[email protected]> Acked-by: Rik van Riel <[email protected]> Acked-by: Mel Gorman <[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