lkml.org 
[lkml]   [2002]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.027 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site