WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Xen-devel [XEN PATCH] [Linux-PVOPS] ballooning on numa

>>> Dulloor <dulloor@xxxxxxxxx> 09.11.09 11:35 >>>
>-  dom0 can read the numa tables (same as xen). Also, the memory map
>for dom0 is (currently) set in a way that the numa ranges are
>consistent. I don't see that changing, so I feel the assumption is
>valid.

Pseudo-consistent at best - there's no reason to believe that the node
a physical page appears to live on (by looking up its address in the SRAT)
has any relationship to the node it really lives on.

And even if that was the case, you could easily end up with many (up to
all but one) nodes appearing unpopulated (due to dom0_mem=).

>- XENMEMF flags are indeed meant for xen tools. But, ballooning is
>completely xen specific too ... it is a xen tool, except that it
>resides in domain's kernel/tree.

That doesn't help you with the node ID issue: The tools can make
meaningful use of Xen node IDs; if you want to do this in the kernel
you'll have to establish a kernel<->Xen translation of node IDs.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel