cma: fix migration mode
Subsystems (2)
PATCH 1/1 cma: fix migration mode
__alloc_contig_migrate_range calls migrate_pages with wrong argument for migrate_mode. Fix it.
Cc Marek Szyprowski <[email protected]>
Signed-off-by Minchan Kim <[email protected]>
--- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/page_alloc.c +1 -1
@@ -5689,7 +5689,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);
Signature · 8 lines
1.7.9.5 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 5 lines · Minchan Kim
__alloc_contig_migrate_rangecallsmigrate_pageswith wrong argument formigrate_mode. Fix it.Cc Marek Szyprowski <[email protected]>Signed-off-by Minchan Kim <[email protected]>
Quoted 15 lines
--- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)mm/page_alloc.c +1
-1@@ -5689,7 +5689,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);
Signature · 11 lines
Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michał “mina86” Nazarewicz (o o) ooo +----<email/xmpp: [email protected]>--------------ooO--(_)--Ooo-- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Hello,
Quoted 19 lines · Michal Nazarewicz
Quoted 5 lines · Minchan Kim
__alloc_contig_migrate_rangecallsmigrate_pageswith wrong argument formigrate_mode. Fix it.Cc Marek Szyprowski <[email protected]>Signed-off-by Minchan Kim <[email protected]>mm/page_alloc.c static int __alloc_contig_migrate_range(unsigned long start, unsigned
Quoted 9 lines
--- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)mm/page_alloc.c +0
-0@@ -5689,7 +5689,7 @@ static int __alloc_contig_migrate_range(unsigned long start, unsignedlong end)
Quoted 7 lines
mm/page_alloc.c static int __alloc_contig_migrate_range(unsigned long start, unsigned long end) · line 5695
Quoted 6 lines
mm/page_alloc.c +1
-1ret =migrate_pages (&cc.migratepages, __alloc_contig_migrate_alloc, -0 , false, true); +0 , false,MIGRATE_SYNC ); }putback_lru_pages (&cc.migratepages);
Thanks for the patch, I will add it to my kernel tree.
Best regards
Signature · 10 lines
Marek Szyprowski Samsung Poland R&D Center -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"[email protected]"> [email protected] </a>