From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: API to query NUMA node of mfn Date: Mon, 10 Jul 2017 12:10:41 +0200 Message-ID: <20170710101034.GA19754@aepfle.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8914620228916748402==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============8914620228916748402== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline I would like to verify on which NUMA node the PFNs used by a HVM guest are located. Is there an API for that? Something like: foreach (pfn, domid) mfns_per_node[pfn_to_node(pfn)]++ foreach (node) printk("%x %x\n", node, mfns_per_node[node]) Olaf --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSkRyP6Rn//f03pRUBdQqD6ppg2fgUCWWNSlwAKCRBdQqD6ppg2 ftYDAKDI3w08YA6KdlsKtGyItwJpa56anwCfR3eVrFla4E72OcfKKP3+tiUDx+c= =GEWi -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf-- --===============8914620228916748402== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============8914620228916748402==--