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

Eric W. Biederman (ebiederm+eric@npwt.net)
11 Jan 1998 15:00:51 -0600


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

Eric