Re: [Xen-devel] Empty memory nodes in VNUMA

2015-08-14 Thread Wei Liu
On Fri, Aug 14, 2015 at 11:38:43AM -0400, Boris Ostrovsky wrote: > On 08/14/2015 11:35 AM, Wei Liu wrote: > >On Fri, Aug 14, 2015 at 11:19:53AM -0400, Boris Ostrovsky wrote: > >>What is the purpose of 'nr_vmemranges < nr_vnodes' test in > >>xc_domain_setvnuma()? Can't we have nodes with no memory?

Re: [Xen-devel] Empty memory nodes in VNUMA

2015-08-14 Thread Boris Ostrovsky
On 08/14/2015 11:35 AM, Wei Liu wrote: On Fri, Aug 14, 2015 at 11:19:53AM -0400, Boris Ostrovsky wrote: What is the purpose of 'nr_vmemranges < nr_vnodes' test in xc_domain_setvnuma()? Can't we have nodes with no memory? If that's the case, this check will still miss configurations when a node

Re: [Xen-devel] Empty memory nodes in VNUMA

2015-08-14 Thread Wei Liu
On Fri, Aug 14, 2015 at 11:19:53AM -0400, Boris Ostrovsky wrote: > What is the purpose of 'nr_vmemranges < nr_vnodes' test in > xc_domain_setvnuma()? Can't we have nodes with no memory? > > If that's the case, this check will still miss configurations when a node > spans multiple memory ranges. >