Please sign in to comment.
mm: fix wrong argument of migrate_huge_pages() in soft_offline_huge_p…
…age() commit dc32f63 upstream. Commit a6bc32b ("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 <firstname.lastname@example.org> Cc: Christoph Lameter <email@example.com> Cc: Mel Gorman <firstname.lastname@example.org> Acked-by: David Rientjes <email@example.com> Cc: "Aneesh Kumar K.V" <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org> Signed-off-by: Ben Hutchings <email@example.com>
- Loading branch information...