]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm: page_alloc: use get_freepage_migratetype() instead of page_private()
authorMinchan Kim <minchan@kernel.org>
Thu, 13 Sep 2012 00:58:59 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Sep 2012 07:28:01 +0000 (17:28 +1000)
commit382470e74905e6f0adf05765440b27da77d7fe55
treedf1670f1affe8c73562e62dc4bef9592f8114b7f
parent0f9fdbd88ddf6edce7b6d0bba620def8e3e7cff7
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>
include/linux/mm.h
mm/page_alloc.c
mm/page_isolation.c