Messages in this thread | | | Date | Tue, 03 Sep 2002 11:30:24 -0400 | From | Anton Lavrentiev <> | Subject | Re: BUG:: SYSV IPC shmem reported as "(deleted)" in process mapsfile |
| |
Mark Hahn wrote: > > > /proc/#/maps file of a process, which has a shared memory segment attached, > > prints the segment as "(deleted)" while in fact the segment is fine and sound. > > This seems to be quite confusing. > > perhaps to some. on the other hand, it is deleted - a file that has no > entry in any FS namespace. what would you suggest as an alternative? > > > cat /proc/#/maps: > > 40018000-40022000 rw-s 00000000 00:05 5865476 /SYSV01315549 (deleted)
I would suggest to state such kind of mapping quite straightforward - as IPC shmem (not as generic FS-like notation, which might be useful, but like I said, still looks confusing), and to provide "(deleted)" only if the segment was actually removed (from SYSV IPC point of view). - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |