Messages in this thread | | | Date | Sun, 5 Oct 2008 01:52:28 +0400 | From | Alexey Dobriyan <> | Subject | Re: [RFC PATCH] Report the shmid backing a VMA in maps |
| |
On Sat, Oct 04, 2008 at 09:04:03PM +0900, KOSAKI Motohiro wrote: > In the other hand, huge page is often used via ipc shm, not mmap. > So, administrator often want to know relationship of memory region and shmid. > > Then, To add shmid attribute in /proc/{pid}/maps is useful. > > > In addition, shmid information is not only useful for huge page, but also for normal shm. > Then, this patch works well on normal shm.
> 2000000000500000-2000000000900000 rw-s 00000000 00:09 0 /SYSV00000000 (deleted) (shmid=0) > 2000000000900000-2000000000d00000 rw-s 00000000 00:09 32769 /SYSV00000000 (deleted) (shmid=32769) ^^^^^ ^^^^^
shmid is already in place, and no, it's not a coincidence ;-)
| |