Re: [PATCH V2 linux-next] mm,compaction: move suitable_migration_target() under CONFIG_COMPACTION

2015-01-14 Thread Vlastimil Babka
On 01/13/2015 07:21 PM, Fabian Frederick wrote: > suitable_migration_target() is only used by isolate_freepages() > Define it under CONFIG_COMPACTION || CONFIG_CMA is not needed. > > Fix the following warning: > mm/compaction.c:311:13: warning: 'suitable_migration_target' defined > but not used

Re: [PATCH V2 linux-next] mm,compaction: move suitable_migration_target() under CONFIG_COMPACTION

2015-01-14 Thread Vlastimil Babka
On 01/13/2015 07:21 PM, Fabian Frederick wrote: suitable_migration_target() is only used by isolate_freepages() Define it under CONFIG_COMPACTION || CONFIG_CMA is not needed. Fix the following warning: mm/compaction.c:311:13: warning: 'suitable_migration_target' defined but not used

[PATCH V2 linux-next] mm,compaction: move suitable_migration_target() under CONFIG_COMPACTION

2015-01-13 Thread Fabian Frederick
suitable_migration_target() is only used by isolate_freepages() Define it under CONFIG_COMPACTION || CONFIG_CMA is not needed. Fix the following warning: mm/compaction.c:311:13: warning: 'suitable_migration_target' defined but not used [-Wunused-function] Signed-off-by: Fabian Frederick --- v2:

[PATCH V2 linux-next] mm,compaction: move suitable_migration_target() under CONFIG_COMPACTION

2015-01-13 Thread Fabian Frederick
suitable_migration_target() is only used by isolate_freepages() Define it under CONFIG_COMPACTION || CONFIG_CMA is not needed. Fix the following warning: mm/compaction.c:311:13: warning: 'suitable_migration_target' defined but not used [-Wunused-function] Signed-off-by: Fabian Frederick