lkml.org 
[lkml]   [1997]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From(Alexander Sanda)
SubjectRe: Possible Kernel Memory Leak in 2.0.28
DateSat, 01 Feb 1997 01:15:26 GMT
In article <m0vpkZF-0005FfC@lightning.swansea.linux.org.uk>,
alan@lxorguk.ukuu.org.uk (Alan Cox) wrote:

>> any rate, this deallocates the memory and stabilized my system.. Is there
>> any reason why shared memory belonging to defunct processes is not
>> automatically deallocated?
>
>SYS5 designers decided it would be useful to be able to leave this sort of
>state around for other programs to reopen. Yes its stupid, but we are
>kind of stuck with it. Gimp should create the shared memory, attach it,
>delete it and then use (the delete occurs on the end of the last attach)
>
Does this mean: If I have running a process which allocated some
chunks of shared memory, and that process crashes, the shmem won't be
deallocated ?

--
# /AS/ #
# http://members.ping.at/alexa/ God save the screen ! #

\
 
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2010