]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memory-hotplug: remove memmap of sparse-vmemmap
authorTang Chen <tangchen@cn.fujitsu.com>
Wed, 20 Feb 2013 02:14:18 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:31 +0000 (16:52 +1100)
commit858ae1de5d90d4bc3c1d337e19f2d3f34ff111a6
treec91d50777021297bdc7cfb4a4c1726aa86a23b54
parent2951c22147bdc3b49a51330c03ecf00cb0e473f9
memory-hotplug: remove memmap of sparse-vmemmap

Introduce a new API vmemmap_free() to free and remove vmemmap pagetables.
Since pagetable implements are different, each architecture has to provide
its own version of vmemmap_free(), just like vmemmap_populate().

Note:  vmemmap_free() is not implemented for ia64, ppc, s390, and sparc.

Signed-off-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Signed-off-by: Jianguo Wu <wujianguo@huawei.com>
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Jiang Liu <jiang.liu@huawei.com>
Cc: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Wu Jianguo <wujianguo@huawei.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/arm64/mm/mmu.c
arch/ia64/mm/discontig.c
arch/powerpc/mm/init_64.c
arch/s390/mm/vmem.c
arch/sparc/mm/init_64.c
arch/x86/mm/init_64.c
include/linux/mm.h
mm/sparse.c