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

[Xen-devel] API to query NUMA node of mfn


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Mon, 10 Jul 2017 12:10:41 +0200
  • Delivery-date: Mon, 10 Jul 2017 10:10:56 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

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

Attachment: signature.asc
Description: PGP signature

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

 


Rackspace

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