From: Marek Szyprowski Date: Wed, 12 Dec 2012 21:51:19 +0000 (-0800) Subject: mm: use migrate_prep() instead of migrate_prep_local() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~33^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be49a6e13537f32f85bd8c4ba04317ca36ca60ff;p=pandora-kernel.git mm: use migrate_prep() instead of migrate_prep_local() __alloc_contig_migrate_range() should use all possible ways to get all the pages migrated from the given memory range, so pruning per-cpu lru lists for all CPUs is required, regadless the cost of such operation. Otherwise some pages which got stuck at per-cpu lru list might get missed by migration procedure causing the contiguous allocation to fail. Reported-by: SeongHwan Yoon Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park Acked-by: Michal Nazarewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed