All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@suse.com>
To: Olaf Hering <olaf@aepfle.de>
Cc: xen-devel@lists.xen.org
Subject: Re: API to query NUMA node of mfn
Date: Mon, 10 Jul 2017 04:41:35 -0600	[thread overview]
Message-ID: <596375FF020000780016A352@prv-mh.provo.novell.com> (raw)
In-Reply-To: <20170710101034.GA19754@aepfle.de>

>>> On 10.07.17 at 12:10, <olaf@aepfle.de> wrote:
> 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])

phys_to_nid() ?

Jan


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

  reply	other threads:[~2017-07-10 10:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-10 10:10 API to query NUMA node of mfn Olaf Hering
2017-07-10 10:41 ` Jan Beulich [this message]
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=596375FF020000780016A352@prv-mh.provo.novell.com \
    --to=jbeulich@suse.com \
    --cc=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 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.