diff options
author | Joonsoo Kim <[email protected]> | 2014-04-07 15:37:03 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-04-07 16:35:51 -0700 |
commit | 7d348b9ea64db0a315d777ce7d4b06697f946503 (patch) | |
tree | 6a2ce9b629b3432328a9f2f6539ea4c57ccc83da /tools/perf/scripts/python/check-perf-trace.py | |
parent | 70ef57e6c22c3323dce179b7d0d433c479266612 (diff) |
mm/compaction: disallow high-order page for migration target
Purpose of compaction is to get a high order page. Currently, if we
find high-order page while searching migration target page, we break it
to order-0 pages and use them as migration target. It is contrary to
purpose of compaction, so disallow high-order page to be used for
migration target.
Additionally, clean-up logic in suitable_migration_target() to simplify
the code. There is no functional changes from this clean-up.
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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions