linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] powerpc/pseries: Implement indexed-count hotplug memory management
@ 2016-08-01 17:19 Sahil Mehta
  2016-08-01 17:21 ` [PATCH v4 1/2] powerpc/pseries: Implement indexed-count hotplug memory add Sahil Mehta
  2016-08-01 17:23 ` [PATCH v4 2/2] powerpc/pseries: Implement indexed-count hotplug memory remove Sahil Mehta
  0 siblings, 2 replies; 6+ messages in thread
From: Sahil Mehta @ 2016-08-01 17:19 UTC (permalink / raw)
  To: linuxppc-dev

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

Changes in v3:
--------------
-[PATCH 1/2]:	-add logic to handle invalid drc_index input
		-update indexed-count trigger to follow naming convention
		-update dlpar_memory to follow kernel if-else style
-[PATCH 2/2]:	-add logic to handle invalid drc_index input

Changes in v4:
--------------
-[PATCH 1/2]:	-add logic to handle kstrdup failure
		-add logic to handle invalid command format

-Sahil Mehta
---
 include/asm/rtas.h                 |    2
 platforms/pseries/dlpar.c          |   48 ++++++++
 platforms/pseries/hotplug-memory.c |  200 +++++++++++++++++++++++++++++++++++--
 3 files changed, 237 insertions(+), 13 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-08-23 23:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-01 17:19 [PATCH v4 0/2] powerpc/pseries: Implement indexed-count hotplug memory management Sahil Mehta
2016-08-01 17:21 ` [PATCH v4 1/2] powerpc/pseries: Implement indexed-count hotplug memory add Sahil Mehta
2016-08-02 20:19   ` Nathan Fontenot
2016-08-01 17:23 ` [PATCH v4 2/2] powerpc/pseries: Implement indexed-count hotplug memory remove Sahil Mehta
2016-08-02 20:20   ` Nathan Fontenot
2016-08-23 23:03   ` Michael Roth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).