[PATCH v2 0/2] powerpc/pseries: Implemented indexed-count hotplug memory management

Sahil Mehta smehta at linux.vnet.ibm.com
Tue Jul 19 01:04:40 AEST 2016


Indexed-count memory management allows addition and removal of contiguous
lmb blocks with a single command. When compared to the series of calls
previously required to manage contiguous blocks, indexed-count decreases
command frequency and reduces risk of buffer overflow.

Changes in v2:
--------------
-[PATCH 1/2]:	-remove potential memory leak when parsing command
		-use u32s drc_index and count instead of u32 ic[]
		 in dlpar_memory
-[PATCH 2/2]:	-use u32s drc_index and count instead of u32 ic[]
		 in dlpar_memory

-Sahil Mehta
---
 include/asm/rtas.h                 |    2
 platforms/pseries/dlpar.c          |   34 ++++++
 platforms/pseries/hotplug-memory.c |  184 +++++++++++++++++++++++++++++++++++--
 3 files changed, 208 insertions(+), 12 deletions(-)



More information about the Linuxppc-dev mailing list