mm/migrate: rename migration reason MR_CMA to MR_CONTIG_RANGE
alloc_contig_range() initiates compaction and eventual migration for the purpose of either CMA or HugeTLB allocations. At present, the reason code remains the same MR_CMA for either of these cases. Let's make it MR_CONTIG_RANGE which will appropriately reflect the reason code in both these cases. Link: http://lkml.kernel.org/r/20180202091518.18798-1-khandual@linux.vnet.ibm.com Signed-off-by:Anshuman Khandual <khandual@linux.vnet.ibm.com> Acked-by:
Michal Hocko <mhocko@suse.com> Reviewed-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/powerpc/mm/mmu_context_iommu.c 1 addition, 1 deletionarch/powerpc/mm/mmu_context_iommu.c
- include/linux/migrate.h 1 addition, 1 deletioninclude/linux/migrate.h
- include/trace/events/migrate.h 1 addition, 1 deletioninclude/trace/events/migrate.h
- mm/page_alloc.c 1 addition, 1 deletionmm/page_alloc.c
Loading
Please register or sign in to comment