Re: [PATCH] mm: fix wrong argument of migrate_huge_pages() insoft_offline_huge_page()

From: David Rientjes
Date: Tue Jul 17 2012 - 16:42:22 EST


On Wed, 18 Jul 2012, Joonsoo Kim wrote:

> Commit a6bc32b899223a877f595ef9ddc1e89ead5072b8 ('mm: compaction: introduce
> sync-light migration for use by compaction') change declaration of
> migrate_pages() and migrate_huge_pages().
> But, it miss changing argument of migrate_huge_pages()
> in soft_offline_huge_page(). In this case, we should call with MIGRATE_SYNC.
> So change it.
>
> Additionally, there is mismatch between type of argument and function
> declaration for migrate_pages(). So fix this simple case, too.
>
> Signed-off-by: Joonsoo Kim <js1304@xxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>

Should be cc'd to stable for 3.3+.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/