aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDavid Rientjes <[email protected]>2014-06-04 16:08:31 -0700
committerLinus Torvalds <[email protected]>2014-06-04 16:54:07 -0700
commitaeef4b83806f49a0c454b7d4578671b71045bee2 (patch)
treec599f3139026f7d674f99824f80625bd5328ad8c /tools/perf/scripts/python/event_analyzing_sample.py
parent75f30861a12a6b09b759dfeeb9290b681af89057 (diff)
mm, compaction: terminate async compaction when rescheduling
Async compaction terminates prematurely when need_resched(), see compact_checklock_irqsave(). This can never trigger, however, if the cond_resched() in isolate_migratepages_range() always takes care of the scheduling. If the cond_resched() actually triggers, then terminate this pageblock scan for async compaction as well. Signed-off-by: David Rientjes <[email protected]> Acked-by: Mel Gorman <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions