]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Implement memory hotplug add in the kernel
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Tue, 10 Feb 2015 19:48:25 +0000 (13:48 -0600)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 17 Mar 2015 00:03:01 +0000 (11:03 +1100)
commit896176a5c570d4ca5d453dcdc177e59aefe71490
tree98167fb8ddc8dc35df834b5e7a28c738a130a34a
parentd7ac326fe1ea569a23a19536ba48350c62075dbd
powerpc/pseries: Implement memory hotplug add in the kernel

This patch adds the ability to do memory hotplug add in the kernel.

Currently the operation to hotplug add memory is handled by the drmgr
command which performs the operation by performing some work in user-space
and making requests to the kernel to handle other pieces. By moving all
of the work to the kernel we can do the add faster, and provide a common
code path to do memory hotplug for both the PowerVM and PowerKVM environments.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/hotplug-memory.c