diff options
author | Minchan Kim <minchan.kim@gmail.com> | 2012-05-11 09:37:13 +0200 |
---|---|---|
committer | Hiroshi Doyu <hdoyu@nvidia.com> | 2012-09-07 11:46:06 +0300 |
commit | 114671ccef6ac735b553a7d2f140a6bde66e7def (patch) | |
tree | 5840a25eb22267f9a39e7011a93fb8c9e97ea1ae /mm | |
parent | 8f209180915de3219f087a9ba6743bb815cd567e (diff) |
cma: fix migration mode
__alloc_contig_migrate_range calls migrate_pages with wrong argument
for migrate_mode. Fix it.
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Minchan Kim <minchan@kernel.org>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 29392759f073..0f20f1c354ef 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -5683,7 +5683,7 @@ static int __alloc_contig_migrate_range(unsigned long start, unsigned long end) ret = migrate_pages(&cc.migratepages, __alloc_contig_migrate_alloc, - 0, false, true); + 0, false, MIGRATE_SYNC); } putback_lru_pages(&cc.migratepages); |