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.tsuk...@nutanix.com>
Acked-by: Peter Xu <pet...@redhat.com> -- Peter Xu