From: Peter Xu <peterx@redhat.com>
To: Eiichi Tsukata <eiichi.tsukata@nutanix.com>
Cc: pbonzini@redhat.com, marcandre.lureau@redhat.com,
berrange@redhat.com, thuth@redhat.com, philmd@linaro.org,
david@redhat.com, qemu-devel@nongnu.org
Subject: Re: [PATCH] physmem: use PR_SET_VMA_ANON_NAME to set ram block name
Date: Tue, 11 Apr 2023 13:00:19 -0400 [thread overview]
Message-ID: <ZDWSI2RYMbwFqoix@x1n> (raw)
In-Reply-To: <20230411041158.66728-1-eiichi.tsukata@nutanix.com>
On Tue, Apr 11, 2023 at 04:11:58AM +0000, Eiichi Tsukata wrote:
> Use linux specific PR_SET_VMA_ANON_NAME (introduced in v5.17) to set ram
> block name in the kernel. This makes each ram block distinguishable and
> can help debugging and inspection. The names of ram blocks are shown in
> /proc/pid/maps like this:
>
> 7f00e9400000-7f00f1400000 rw-p 00000000 00:00 0 [anon:pc.ram]
> 7f0115200000-7f0115201000 rw-p 00000000 00:00 0 [anon:/rom@etc/acpi/rsdp]
> 7f0115400000-7f0115410000 rw-p 00000000 00:00 0 [anon:/rom@etc/table-loader]
> 7f0115600000-7f0115800000 rw-p 00000000 00:00 0 [anon:/rom@etc/acpi/tables]
> 7f0115a00000-7f0115a40000 rw-p 00000000 00:00 0 [anon:e1000.rom]
> ...
>
> Signed-off-by: Eiichi Tsukata <eiichi.tsukata@nutanix.com>
Acked-by: Peter Xu <peterx@redhat.com>
--
Peter Xu
prev parent reply other threads:[~2023-04-11 17:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-11 4:11 [PATCH] physmem: use PR_SET_VMA_ANON_NAME to set ram block name Eiichi Tsukata
2023-04-11 7:51 ` David Hildenbrand
2023-04-11 17:00 ` Peter Xu [this message]
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=ZDWSI2RYMbwFqoix@x1n \
--to=peterx@redhat.com \
--cc=berrange@redhat.com \
--cc=david@redhat.com \
--cc=eiichi.tsukata@nutanix.com \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/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).