From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH 09 of 11] libxl, xl: enable automatic placement of guests on NUMA nodes Date: Thu, 31 May 2012 18:56:13 +0200 Message-ID: <1338483373.15014.93.camel@Solace> References: <20423.34837.239698.739317@mariner.uk.xensource.com> <1338481654.15014.90.camel@Solace> <1338482542.17466.21.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1137064125539736892==" Return-path: In-Reply-To: <1338482542.17466.21.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Andre Przywara , Stefano Stabellini , George Dunlap , Juergen Gross , Ian Jackson , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org --===============1137064125539736892== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-vVWp0aw2c+NhUroAe3RV" --=-vVWp0aw2c+NhUroAe3RV Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. > > >=20 > > 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? >=20 > This code is in gentest.py not libxl proper,=20 > 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 --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-vVWp0aw2c+NhUroAe3RV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAk/Hoq0ACgkQk4XaBE3IOsSbqQCeJN00UvJPQqn/yFSz74SP1n0d 3BcAn1QghK+/VMrJa9XZELXipHPS93Ja =a/I7 -----END PGP SIGNATURE----- --=-vVWp0aw2c+NhUroAe3RV-- --===============1137064125539736892== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============1137064125539736892==--