From: "Jan Beulich" Subject: Re: [PATCH v6 03/23] xen: make two memory hypercalls vNUMA-aware Date: Fri, 27 Feb 2015 16:59:02 +0000 Message-ID: <54F0B0660200007800064C4D@mail.emea.novell.com> References: <1424966166-2388-1-git-send-email-wei.liu2@citrix.com> <1424966166-2388-4-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1424966166-2388-4-git-send-email-wei.liu2@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: Wei Liu Cc: AndrewCooper , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 26.02.15 at 16:55, wrote: > Make XENMEM_increase_reservation and XENMEM_populate_physmap > vNUMA-aware. > > That is, if guest requests Xen to allocate memory for specific vnode, > Xen can translate vnode to pnode using vNUMA information of that guest. > > XENMEMF_vnode is introduced for the guest to mark the node number is in > fact virtual node number and should be translated by Xen. > > XENFEAT_memory_op_vnode_supported is introduced to indicate that Xen is > able to translate virtual node to physical node. > > Signed-off-by: Wei Liu As I massaged your first patch (also, but not only, to do what Andrew requested), this one will need adjustment too. Perhaps additionally if the 2nd one is to be dropped... Jan