]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: page_alloc: use get_freepage_migratetype() instead of page_private()
authorMinchan Kim <minchan@kernel.org>
Fri, 28 Sep 2012 00:19:40 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:03:26 +0000 (15:03 +1000)
commitf4c0a6ed7121ee4a252f3a8e3389c749ec629c35
tree2166a4da1a5ce927b4f4072f06c5dbca4490e3df
parentb52db69028cd126f16d08b53c1b10170d511de84
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