On Fri, Aug 30, 2013 at 10:42:54AM +0200, Krzysztof Kozlowski wrote: > Currently zbud pages do not have any flags set so it is not possible to > identify them during migration or compaction. > > Implement PageZbud() by comparing page->_mapcount to -127 to distinguish > pages allocated by zbud. Just like PageBuddy() is implemented. > > Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Seth Jennings <[email protected]> > --- > include/linux/mm.h | 23 +++++++++++++++++++++++ > mm/zbud.c | 4 ++++ > 2 files changed, 27 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

