]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/page_alloc: refactor out __alloc_contig_migrate_alloc()
authorMinchan Kim <minchan@kernel.org>
Fri, 28 Sep 2012 00:19:49 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 8 Oct 2012 03:00:14 +0000 (14:00 +1100)
commit21ab08b742dddd59c7512f7db5e042cc15d44b57
treefcdee8c6d704429a3c23ff8be3885548415510ab
parentbb245152107cd41b413c011ea9a8893567d221d7
mm/page_alloc: refactor out __alloc_contig_migrate_alloc()

__alloc_contig_migrate_alloc() can be used by memory-hotplug so refactor
it out (move + rename as a common name) into page_isolation.c.

Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Wen Congyang <wency@cn.fujitsu.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/page-isolation.h
mm/page_alloc.c
mm/page_isolation.c