Thread (6 messages) 6 messages, 3 authors, 2016-08-23

Re: [PATCH v4 2/2] powerpc/pseries: Implement indexed-count hotplug memory remove

flat view

From: Nathan Fontenot <hidden>
Date: 2016-08-02 20:20:37

On 08/01/2016 12:23 PM, Sahil Mehta wrote:
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 <redacted>
Reviewed-by: Nathan Fontenot <redacted>
---
v2:	-use u32s drc_index and count instead of u32 ic[]
	 in dlpar_memory
v3:	-add logic to handle invalid drc_index input
v4:	-none

 arch/powerpc/platforms/pseries/hotplug-memory.c |   90 +++++++++++++++++++++++
 1 file changed, 90 insertions(+)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help