diff options
| author | Joonsoo Kim <[email protected]> | 2012-07-30 14:39:04 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-07-30 17:25:11 -0700 |
| commit | dc32f63453f56d07a1073a697dcd843dd3098c09 (patch) | |
| tree | 17c0467c5c638e42213b51abddf04f22b03a6ae6 /tools/perf/scripts/python | |
| parent | a410963ba4c0c768302f0298e258b1ee940e8316 (diff) | |
mm: fix wrong argument of migrate_huge_pages() in soft_offline_huge_page()
Commit a6bc32b89922 ("mm: compaction: introduce sync-light migration for
use by compaction") changed the declaration of migrate_pages() and
migrate_huge_pages().
But it missed changing the argument of migrate_huge_pages() in
soft_offline_huge_page(). In this case, we should call
migrate_huge_pages() with MIGRATE_SYNC.
Additionally, there is a mismatch between type the of argument and the
function declaration for migrate_pages().
Signed-off-by: Joonsoo Kim <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Mel Gorman <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: "Aneesh Kumar K.V" <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions