Re: Possible Kernel Memory Leak in 2.0.28

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 30 Jan 1997 00:41:29 +0000 (GMT)


> 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)