On Fri, 10 Feb 2012 18:32:20 +0100 Marek Szyprowski m.szyprowski@samsung.com wrote:
From: Michal Nazarewicz mina86@mina86.com
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.
Signed-off-by: Michal Nazarewicz mina86@mina86.com Signed-off-by: Marek Szyprowski m.szyprowski@samsung.com Acked-by: Mel Gorman mel@csn.ul.ie Tested-by: Rob Clark rob.clark@linaro.org Tested-by: Ohad Ben-Cohen ohad@wizery.com Tested-by: Benjamin Gaignard benjamin.gaignard@linaro.org
Reivewed-by: KAMEZAWA Hiroyuki kamezawa.hiroyu@jp.fujitsu.com
Onto linux-next(Feb13), becasue of a patch " mm: compaction: make compact_control order signed", (41f0810873917dc3a05ec955651f6d7edf1e8946)
compaction_control.order should be changed to be signed.