Messages in this thread | | | Date | Thu, 29 May 2014 12:32:18 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [PATCH] CMA: use MIGRATE_SYNC in alloc_contig_range() |
| |
On Thu, 29 May 2014, Joonsoo Kim wrote:
> Before commit 'mm, compaction: embed migration mode in compact_control' > from David is merged, alloc_contig_range() used sync migration, > instead of sync_light migration. This doesn't break anything currently > because page isolation doesn't have any difference with sync and > sync_light, but it could in the future, so change back as it was. > > And pass cc->mode to migrate_pages(), instead of passing MIGRATE_SYNC > to migrate_pages(). > > Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: David Rientjes <rientjes@google.com>
Should probably be renamed mm-compaction-embed-migration-mode-in-compact_control-fix-fix though since it's based on another patch in -mm that properly does the s/sync/mode/ conversion for CMA.
| |