All of lore.kernel.org
 help / color / mirror / Atom feed
* API to query NUMA node of mfn
@ 2017-07-10 10:10 Olaf Hering
  2017-07-10 10:41 ` Jan Beulich
  0 siblings, 1 reply; 5+ messages in thread
From: Olaf Hering @ 2017-07-10 10:10 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 260 bytes --]

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 #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-10 20:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-10 10:10 API to query NUMA node of mfn Olaf Hering
2017-07-10 10:41 ` Jan Beulich
2017-07-10 13:13   ` Konrad Rzeszutek Wilk
2017-07-10 13:35     ` Olaf Hering
2017-07-10 20:29       ` Konrad Rzeszutek Wilk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.