]> 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>
Wed, 26 Sep 2012 01:33:44 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:26:38 +0000 (17:26 +1000)
commit92abece56310d1fb65effff8493a7db3c9f671f2
treedfadc8238811816ed1e95f216be511be83760367
parenteca139586d457be6c0bad7852e12fa7655e79559
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