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

2015-01-13 Thread Vlastimil Babka
On 01/09/2015 10:30 PM, Fabian Frederick wrote: > > >> On 06 January 2015 at 18:21 Vlastimil Babka wrote: >> >> >> On 01/03/2015 05:04 PM, Fabian Frederick wrote: >> > suitable_migration_target() is only used by isolate_freepages() >> > Define it under CONFIG_COMPACTION || CONFIG_CMA is not

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

2015-01-13 Thread Vlastimil Babka
On 01/09/2015 10:30 PM, Fabian Frederick wrote: On 06 January 2015 at 18:21 Vlastimil Babka vba...@suse.cz wrote: On 01/03/2015 05:04 PM, Fabian Frederick wrote: suitable_migration_target() is only used by isolate_freepages() Define it under CONFIG_COMPACTION || CONFIG_CMA is not

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

2015-01-09 Thread Fabian Frederick
> On 06 January 2015 at 18:21 Vlastimil Babka wrote: > > > On 01/03/2015 05:04 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: > >

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

2015-01-09 Thread Fabian Frederick
On 06 January 2015 at 18:21 Vlastimil Babka vba...@suse.cz wrote: On 01/03/2015 05:04 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:

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

2015-01-06 Thread Vlastimil Babka
On 01/03/2015 05:04 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 1/1 linux-next] mm,compaction: move suitable_migration_target() under CONFIG_COMPACTION

2015-01-06 Thread Vlastimil Babka
On 01/03/2015 05:04 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 1/1 linux-next] mm,compaction: move suitable_migration_target() under CONFIG_COMPACTION

2015-01-03 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 ---

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

2015-01-03 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