From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 8 Nov 2000 21:52:38 +0100 From: Ingo Oeser Subject: Re: Looking for better VM Message-ID: <20001108215238.C947@nightmaster.csn.tu-chemnitz.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from mikulas@artax.karlin.mff.cuni.cz on Wed, Nov 08, 2000 at 05:36:40PM +0100 Sender: owner-linux-mm@kvack.org Return-Path: To: Mikulas Patocka Cc: Rik van Riel , Szabolcs Szakacsits , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds , Ingo Molnar List-ID: 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 . 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. :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/