linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Sahil Mehta <smehta@linux.vnet.ibm.com>
To: linuxppc-dev@lists.ozlabs.org
Subject: [PATCH v2 0/2] powerpc/pseries: Implemented indexed-count hotplug memory management
Date: Mon, 18 Jul 2016 10:04:40 -0500	[thread overview]
Message-ID: <f3a63611-ae4d-be48-64d7-88a7ac7c1091@linux.vnet.ibm.com> (raw)

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(-)

             reply	other threads:[~2016-07-18 15:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18 15:04 Sahil Mehta [this message]
2016-07-18 15:07 ` [PATCH v2 1/2] powerpc/pseries: Implemented indexed-count hotplug memory add Sahil Mehta
2016-07-19 17:55   ` Nathan Fontenot
2016-07-19 18:31   ` Tyrel Datwyler
2016-07-19 23:36   ` Thomas Falcon
2016-07-18 15:08 ` [PATCH v2 2/2] powerpc/pseries: Implemented indexed-count hotplug memory remove Sahil Mehta
2016-07-19 17:56   ` Nathan Fontenot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f3a63611-ae4d-be48-64d7-88a7ac7c1091@linux.vnet.ibm.com \
    --to=smehta@linux.vnet.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).