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

Re: [Xen-devel] [PATCH 09 of 11] libxl, xl: enable automatic placement of guests on NUMA nodes



On Thu, 2012-05-31 at 17:42 +0100, Ian Campbell wrote:
> > > For your random number generation, please use nrand48, with a seed in
> > > the libxl ctx.  (This means you'll need to take out the ctx lock.)
> > > And provide a way to set the seed.
> > > 
> > Sounds reasonable, I'll look into this. As a side note, as I
> > deliberately took inspiration from libxl_cpumap_rand_init() for this,
> > should I apply what you just said to that function too?
> 
> This code is in gentest.py not libxl proper, 
>
It is, indeed, as it is its _cpumap_ counterpart from which I copied it,
as soon as I started getting build errors because of an obscure
libxl_nodemap_rand_init() (which I didn't knew anything of) being
missing! :-P

Thanks and Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://retis.sssup.it/people/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®.