From: Olaf Hering <olaf@aepfle.de>
To: xen-devel@lists.xen.org
Subject: API to query NUMA node of mfn
Date: Mon, 10 Jul 2017 12:10:41 +0200 [thread overview]
Message-ID: <20170710101034.GA19754@aepfle.de> (raw)
[-- 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
next reply other threads:[~2017-07-10 10:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-10 10:10 Olaf Hering [this message]
2017-07-10 10:41 ` API to query NUMA node of mfn 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170710101034.GA19754@aepfle.de \
--to=olaf@aepfle.de \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).