Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 8 Nov 2000 14:53:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 8 Nov 2000 14:53:08 -0500 Received: from asterix.hrz.tu-chemnitz.de ([134.109.132.84]:18858 "EHLO asterix.hrz.tu-chemnitz.de") by vger.kernel.org with ESMTP id ; Wed, 8 Nov 2000 14:52:58 -0500 Date: Wed, 8 Nov 2000 21:52:38 +0100 From: Ingo Oeser To: Mikulas Patocka Cc: Rik van Riel , Szabolcs Szakacsits , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds , Ingo Molnar Subject: Re: Looking for better VM Message-ID: <20001108215238.C947@nightmaster.csn.tu-chemnitz.de> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from mikulas@artax.karlin.mff.cuni.cz on Wed, Nov 08, 2000 at 05:36:40PM +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/