]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Implement memory hotplug remove in the kernel
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Tue, 10 Feb 2015 19:49:22 +0000 (13:49 -0600)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 17 Mar 2015 00:03:03 +0000 (11:03 +1100)
commitd54e799398ea69f7e6127f974dd2dd779f15c33a
treea8b7ba83584fc1bfbb51ff29652f34e7a656b0df
parent896176a5c570d4ca5d453dcdc177e59aefe71490
powerpc/pseries: Implement memory hotplug remove in the kernel

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

Currently the operation to hotplug remove 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 remove 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