]> 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>
Tue, 9 Oct 2012 03:12:35 +0000 (14:12 +1100)
commitc2c6e951c6cbc613c30d83c245113d7a23044151
tree060d9f0fd59af6527e7b3a104e75fc1350efacc0
parent580e51d66a5c18ff6f8cc3c8783fdd324f9d4fc7
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