From: "Jan Beulich" Subject: Re: [PATCH 2/5] allow domain heap allocations to specify more than one NUMA node Date: Tue, 03 Mar 2015 07:59:20 +0000 Message-ID: <54F577E80200007800065798@mail.emea.novell.com> References: <54EF315902000078000640FF@mail.emea.novell.com> <54EF337C0200007800064140@mail.emea.novell.com> <1425316360.24959.25.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YShje-0000HR-P0 for xen-devel@lists.xenproject.org; Tue, 03 Mar 2015 07:59:22 +0000 In-Reply-To: <1425316360.24959.25.camel@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel , Dario Faggioli , KeirFraser , Ian Jackson , Tim Deegan List-Id: xen-devel@lists.xenproject.org >>> On 02.03.15 at 18:12, wrote: > On Thu, 2015-02-26 at 13:53 +0000, Jan Beulich wrote: >> ... using struct domain as a container for passing the respective >> affinity mask: Quite a number of allocations are domain specific, yet >> not to be accounted for that domain. Introduce a flag suppressing the >> accounting altogether (i.e. going beyond MEMF_no_refcount) and use it >> right away in common code (x86 and IOMMU code will get adjusted >> subsequently). >> >> Signed-off-by: Jan Beulich > > Acked-by: Ian Campbell Thanks. > Does this patch constitute all the "not just"(x86) from the initial > mail? I'll assume so unless I hear otherwise. No, this part of patch 1 "Note that this gives meaning to MEMF_exact_node specified alone (i.e. implicitly combined with NUMA_NO_NODE): In such a case any node inside the domain's node mask is acceptable, but no other node. This changed behavior is (implicitly) being exposed through the memop hypercalls." does too. (Patches 4 and 5 are only indirectly x86-specific, as the IOMMU code touched there is used on x86 only. But that's of no concern to you anyway.) Jan