Thread (1 message) 1 message, 1 author, 2007-06-06

Re: [RFC][PATCH] /proc/pid/maps doesn't match "ipcs -m" shmid

From: Eric W. Biederman <hidden>
Date: 2007-06-06 18:25:40
Also in: lkml

Badari Pulavarty [off-list ref] writes:
------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status
0x00000000 884737     db2inst1  767        33554432   13
0x00000000 950275     db2fenc1  701        23052288   13

There is no unique way to identify them easily :(

I guess, like you suggested, we can change the dentry name to use shmid
instead of the portions of the "key" to make it unique. I think, I can 
work out a patch for this.
Thanks.  That should be more robust.

Eric

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help