]> 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>
Fri, 28 Sep 2012 06:07:45 +0000 (16:07 +1000)
commit651284e7fe00d9717f99a2de0d63f314b18a0c73
tree6b33ccf201ed59108458b3dfd8389c72713a2aa6
parent460fcabe9cc2b80b4a2fee6bf81adff701b71e0b
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