[PATCH] memory hotplug: sysfs and add/remove functions
authorDave Hansen <haveblue@us.ibm.com>
Sun, 30 Oct 2005 01:16:54 +0000 (18:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Oct 2005 04:40:44 +0000 (21:40 -0700)
commit3947be1969a9ce455ec30f60ef51efb10e4323d1
tree0b4b3b4c268beb7aa88cb685cce48b6bb5053c47
parentbdc8cb984576ab5b550c8b24c6fa111a873503e3
[PATCH] memory hotplug: sysfs and add/remove functions

This adds generic memory add/remove and supporting functions for memory
hotplug into a new file as well as a memory hotplug kernel config option.

Individual architecture patches will follow.

For now, disable memory hotplug when swsusp is enabled.  There's a lot of
churn there right now.  We'll fix it up properly once it calms down.

Signed-off-by: Matt Tolentino <matthew.e.tolentino@intel.com>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/base/Makefile
drivers/base/init.c
drivers/base/memory.c [new file with mode: 0644]
include/linux/memory.h [new file with mode: 0644]
include/linux/memory_hotplug.h
include/linux/mm.h
mm/Kconfig
mm/Makefile
mm/memory_hotplug.c [new file with mode: 0644]
mm/page_alloc.c