Re: [Xen-devel] [PATCH v5 02/24] xen: make two memory hypercalls vNUMA-aware

2015-02-13 Thread Andrew Cooper
On 12/02/15 19:44, Wei Liu 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

Re: [Xen-devel] [PATCH v5 02/24] xen: make two memory hypercalls vNUMA-aware

2015-02-13 Thread Wei Liu
On Fri, Feb 13, 2015 at 12:00:29PM +, Andrew Cooper wrote: [...] +static int translate_vnode_to_pnode(struct domain *d, +struct xen_memory_reservation *r, const struct xen_memory_reservation *r Ack. +struct

[Xen-devel] [PATCH v5 02/24] xen: make two memory hypercalls vNUMA-aware

2015-02-12 Thread Wei Liu
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