lkml.org 
[lkml]   [1998]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Dosemu leaks on fork (was: Re: 2.0.33 Memory leak (bad))
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

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