mm: page_alloc: use get_freepage_migratetype() instead of page_private()
authorMinchan Kim <minchan@kernel.org>
Mon, 8 Oct 2012 23:32:08 +0000 (16:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Oct 2012 07:22:45 +0000 (16:22 +0900)
commitb12c4ad14ee0232ad47c2bef404b6d42a3578332
tree9fc0d3fa799b7aef83f824eb538f0b75c3af0683
parentd95ea5d18e699515468368415c93ed49b1a3221b
mm: page_alloc: use get_freepage_migratetype() instead of page_private()

The page allocator uses set_page_private and page_private for handling
migratetype when it frees page.  Let's replace them with [set|get]
_freepage_migratetype to make it more clear.

Signed-off-by: Minchan Kim <minchan@kernel.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Cc: Xishi Qiu <qiuxishi@huawei.com>
Cc: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h
mm/page_alloc.c
mm/page_isolation.c