[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>
Showing
- drivers/base/Makefile 1 addition, 0 deletionsdrivers/base/Makefile
- drivers/base/init.c 2 additions, 0 deletionsdrivers/base/init.c
- drivers/base/memory.c 455 additions, 0 deletionsdrivers/base/memory.c
- include/linux/memory.h 94 additions, 0 deletionsinclude/linux/memory.h
- include/linux/memory_hotplug.h 35 additions, 0 deletionsinclude/linux/memory_hotplug.h
- include/linux/mm.h 1 addition, 0 deletionsinclude/linux/mm.h
- mm/Kconfig 8 additions, 0 deletionsmm/Kconfig
- mm/Makefile 1 addition, 1 deletionmm/Makefile
- mm/memory_hotplug.c 178 additions, 0 deletionsmm/memory_hotplug.c
- mm/page_alloc.c 2 additions, 2 deletionsmm/page_alloc.c
Loading
Please register or sign in to comment