Re: Dosemu leaks on fork (was: Re: 2.0.33 Memory leak (bad))

Adrian Bridgett (adrian.bridgett@poboxes.com)
Sun, 25 Jan 1998 14:46:16 +0000


On Sun, Jan 11, 1998 at 03:00:51PM -0600, Eric W. Biederman wrote:
> >>>>> "Kai" == Kai Henningsen <kaih@khms.westfalen.de> writes:
>
> Kai> It's in process.c, line 484. It's when dosemu forks Linux programs. (This
> Kai> is in copy_thread, but only if the thread has an ldt.)
>
> The fix should be line 424 change free_page to vfree.
>
> exit_thread gets it right but flush_thread doesn't :(
>
> At least that's the way it is in 2.0.32

In 2.1.81 this is still free_page rather than vfree. I'm mentioning this
incase this fix has been forgotten. The offending line is now 438.

Adrian

email: adrian.bridgett@poboxes.com | Debian Linux - www.debian.org
http://www.poboxes.com/adrian.bridgett | Because bloated, unstable
PGP key available on public key servers | operating systems are from MS