Re: [PATCH 05/15] mm: compaction: export some of the functions

From: Hillf Danton
Date: Sun Feb 05 2012 - 02:40:10 EST


On Fri, Feb 3, 2012 at 8:18 PM, Marek Szyprowski
<m.szyprowski@xxxxxxxxxxx> wrote:
> From: Michal Nazarewicz <mina86@xxxxxxxxxx>
>
> This commit exports some of the functions from compaction.c file
> outside of it adding their declaration into internal.h header
> file so that other mm related code can use them.
>
> This forced compaction.c to always be compiled (as opposed to being
> compiled only if CONFIG_COMPACTION is defined) but as to avoid
> introducing code that user did not ask for, part of the compaction.c
> is now wrapped in on #ifdef.
>

What if both compaction and CMA are not enabled?

Good weekend
Hillf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/