]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Implement indexed-count hotplug memory remove
authorSahil Mehta <sahilmehta17@gmail.com>
Wed, 15 Feb 2017 18:46:18 +0000 (13:46 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 17 Feb 2017 06:57:46 +0000 (17:57 +1100)
commit75e410d8bb88f7ee0f31757cf3fba8d80b5120ae
tree5014d2b50202740da63a97b369a459bfbda30b6a
parent03c3e428591bdb66463a69064ff603952e24fd0b
powerpc/pseries: Implement indexed-count hotplug memory remove

Indexed-count remove for memory hotplug guarantees that a contiguous block
of <count> lmbs beginning at a specified <index> will be unassigned (NOT
that <count> lmbs will be removed). Because of Qemu's per-DIMM memory
management, the removal of a contiguous block of memory currently
requires a series of individual calls. Indexed-count remove reduces
this series into a single call.

Signed-off-by: Sahil Mehta <sahilmehta17@gmail.com>
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/hotplug-memory.c