diff options
| author | 2014-06-04 16:08:31 -0700 | |
|---|---|---|
| committer | 2014-06-04 16:54:07 -0700 | |
| commit | aeef4b83806f49a0c454b7d4578671b71045bee2 (patch) | |
| tree | c599f3139026f7d674f99824f80625bd5328ad8c /scripts/Makefile.thinlto | |
| parent | mm, thp: avoid excessive compaction latency during fault (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 <rientjes@google.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
