]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/page_alloc: refactor out __alloc_contig_migrate_alloc()
authorMinchan Kim <minchan@kernel.org>
Wed, 26 Sep 2012 01:33:52 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 26 Sep 2012 05:45:05 +0000 (15:45 +1000)
commit5b1b15eba07fd7f5605c684a3ce82a243dd96776
treee699246d5a8eb495c490e38ed5721030ea591752
parentb1bda30b420402da621f0ca7d844668fb66c9c64
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