[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 1/7] xen: vNUMA support for PV guests



On mar, 2013-11-19 at 14:01 +0000, Jan Beulich wrote:
> One thing that I only realized - what information is the guest
> supposed to use to know the number of virtual nodes it has
> (needed to size the arrays the handles here point to)?
> 
If I understand correctly what you're asking, the (current) answer is in
the Linux patch, here:

 
http://bugs.xenproject.org/xen/mid/%3C1384811922-14642-2-git-send-email-ufimtseva@xxxxxxxxx%3E

which uses num_possible_cpus()

 http://lxr.linux.no/linux+v3.12/+code=num_possible_cpus

to size all the three arrays.

Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.