summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorMarek Szyprowski2012-12-12 22:51:19 +0100
committerLinus Torvalds2012-12-13 02:38:32 +0100
commitbe49a6e13537f32f85bd8c4ba04317ca36ca60ff (patch)
tree00f629b7be8203ce1fef100ab8875e291033dc5d /virt
parentmm: compaction: Fix compiler warning (diff)
downloadkernel-qcow2-linux-be49a6e13537f32f85bd8c4ba04317ca36ca60ff.tar.gz
kernel-qcow2-linux-be49a6e13537f32f85bd8c4ba04317ca36ca60ff.tar.xz
kernel-qcow2-linux-be49a6e13537f32f85bd8c4ba04317ca36ca60ff.zip
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 <sunghwan.yun@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions