Re: [PATCH] mm: Fix build with CMA && !CONFIG_COMPACTION

2012-09-26 Thread Mel Gorman
On Wed, Sep 26, 2012 at 01:13:06PM +0100, Mark Brown wrote: > In -next 20120926 "mm: compaction: cache if a pageblock was scanned and > no pages were isolated" adds pageblock skipping operations used when CMA > is enabled but only provides them if CONFIG_COMPACTION is defined, breaking > the

[PATCH] mm: Fix build with CMA && !CONFIG_COMPACTION

2012-09-26 Thread Mark Brown
In -next 20120926 "mm: compaction: cache if a pageblock was scanned and no pages were isolated" adds pageblock skipping operations used when CMA is enabled but only provides them if CONFIG_COMPACTION is defined, breaking the build. Fix this by also providing them when only CONFIG_CMA is enabled.

[PATCH] mm: Fix build with CMA !CONFIG_COMPACTION

2012-09-26 Thread Mark Brown
In -next 20120926 mm: compaction: cache if a pageblock was scanned and no pages were isolated adds pageblock skipping operations used when CMA is enabled but only provides them if CONFIG_COMPACTION is defined, breaking the build. Fix this by also providing them when only CONFIG_CMA is enabled.

Re: [PATCH] mm: Fix build with CMA !CONFIG_COMPACTION

2012-09-26 Thread Mel Gorman
On Wed, Sep 26, 2012 at 01:13:06PM +0100, Mark Brown wrote: In -next 20120926 mm: compaction: cache if a pageblock was scanned and no pages were isolated adds pageblock skipping operations used when CMA is enabled but only provides them if CONFIG_COMPACTION is defined, breaking the build. Fix