aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJoonsoo Kim <[email protected]>2014-04-07 15:37:04 -0700
committerLinus Torvalds <[email protected]>2014-04-07 16:35:51 -0700
commit01ead5340bcf5f3a1cd2452c75516d0ef4d908d7 (patch)
treeeabccdd2c4f1b399ab04e0cc4ed8acff9f2d0281 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent7d348b9ea64db0a315d777ce7d4b06697f946503 (diff)
mm/compaction: do not call suitable_migration_target() on every page
suitable_migration_target() checks that pageblock is suitable for migration target. In isolate_freepages_block(), it is called on every page and this is inefficient. So make it called once per pageblock. suitable_migration_target() also checks if page is highorder or not, but it's criteria for highorder is pageblock order. So calling it once within pageblock range has no problem. Signed-off-by: Joonsoo Kim <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Cc: Mel Gorman <[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