memory hotplug: align memmap to page size
commit9d99217a02a06a7cc83f065b73e976970970c58c
authorYasunori Goto <y-goto@jp.fujitsu.com>
Mon, 28 Apr 2008 09:13:32 +0000 (28 02:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:25 +0000 (28 08:58 -0700)
tree14d270c37701f9ae621c9cd8b076e207ee86e5d0
parent04753278769f3b6c3b79a080edb52f21d83bf6e2
memory hotplug: align memmap to page size

To free memmap easier, this patch aligns it to page size.  Bootmem allocater
may mix some objects in one pages.  It's not good for freeing memmap of memory
hot-remove.

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Badari Pulavarty <pbadari@us.ibm.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/sparse.c