From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [RFC v2][PATCH 1/3] docs: design and intended usage for NUMA-aware ballooning Date: Tue, 20 Aug 2013 15:20:26 +0100 Message-ID: <52137B2A.5010105@citrix.com> References: <1376626416-12901-1-git-send-email-lccycc123@gmail.com> <5212168B.3090007@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: Jan Beulich , Yechen Li , Dario Faggioli , Ian Jackson , "xen-devel@lists.xen.org" , Ian Campbell , ufimtseva@gmail.com List-Id: xen-devel@lists.xenproject.org On 19/08/13 14:26, George Dunlap wrote: > On Mon, Aug 19, 2013 at 1:58 PM, David Vrabel wrote: >> If we decide we do need such control, I think the xenstore interface >> should look more like: >> >> memory/target >> >> as before >> >> memory/target-by-nid/0 >> >> target for virtual node 0 >> >> ... >> >> memory/target-by-nid/N >> >> target for virtual node N >> >> I think this better reflects the goal which is an adjusted NUMA layout >> for the guest rather than the steps required to reach it (release P >> pages from node N). > > This seems more sensible than a mask (as Jan suggested); but is it > open to race conditions? xenstore transactions could be used to make the reads/writes of the set of values atomic. David