aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorDavid Rientjes <[email protected]>2014-04-07 15:37:34 -0700
committerLinus Torvalds <[email protected]>2014-04-07 16:35:55 -0700
commitda1c67a76f7cf2b3404823d24f9f10fa91aa5dc5 (patch)
tree573c8ad7aeeb67e0e368510b95ef1d660adec1d3 /tools/perf/scripts
parent539a13b47e462d28c48f076c63871580f694a366 (diff)
mm, compaction: determine isolation mode only once
The conditions that control the isolation mode in isolate_migratepages_range() do not change during the iteration, so extract them out and only define the value once. This actually does have an effect, gcc doesn't optimize it itself because of cc->sync. Signed-off-by: David Rientjes <[email protected]> Cc: Mel Gorman <[email protected]> Acked-by: Rik van Riel <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Cc: Joonsoo Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions