diff options
author | Minchan Kim <minchan.kim@gmail.com> | 2012-05-11 09:37:13 +0200 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2016-04-03 14:56:07 +0200 |
commit | 20304de29f1f3704d7d1ebdbdabddfce4e08cad3 (patch) | |
tree | 7ebeb4a9e3111d20cf69abd540b7333bc01a72d8 | |
parent | 300436c85b3a1d383cfcb4e2b9fa7c60d3976477 (diff) | |
download | kernel_samsung_tuna-20304de29f1f3704d7d1ebdbdabddfce4e08cad3.zip kernel_samsung_tuna-20304de29f1f3704d7d1ebdbdabddfce4e08cad3.tar.gz kernel_samsung_tuna-20304de29f1f3704d7d1ebdbdabddfce4e08cad3.tar.bz2 |
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>
-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 23a3674..fad3396 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -5898,7 +5898,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); |