[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Looking for better VM
On Wed, Nov 08, 2000 at 05:36:40PM +0100, Mikulas Patocka wrote:
> BTW. Why does your OOM killer in 2.4 try to kill process that mmaped most
> memory? mmap is hamrless. mmap on files can't eat memory and swap.
Don't complain, build your own and test it ;-)
Apply my patch
http://www.tu-chemnitz.de/~ioe/oom_kill_api.patch
and install your own OOM handler using install_oom_killer()
from <linux/swap.h>. It has all the needed documentation inline
that will be build along the kernel-api-book.
Have fun researching in this area.
PS: Applies cleanly since oom_kill.c exists and also against
2.4.0-test11-pre1.
Regards
Ingo Oeser
--
To the systems programmer, users and applications
serve only to provide a test load.
<esc>:x
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/