From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH] fix spurious OOM kills From: Thomas Gleixner Reply-To: tglx@linutronix.de In-Reply-To: <20041214235549.GT16322@dualathlon.random> References: <419FB4CD.7090601@ribosome.natur.cuni.cz> <1101037999.23692.5.camel@thomas> <41A08765.7030402@ribosome.natur.cuni.cz> <1101045469.23692.16.camel@thomas> <1101120922.19380.17.camel@tglx.tec.linutronix.de> <41A2E98E.7090109@ribosome.natur.cuni.cz> <1101205649.3888.6.camel@tglx.tec.linutronix.de> <41BF0F0D.4000408@ribosome.natur.cuni.cz> <20041214173858.GJ16322@dualathlon.random> <1103067018.5420.37.camel@npiggin-nld.site> <20041214235549.GT16322@dualathlon.random> Content-Type: text/plain Date: Wed, 15 Dec 2004 01:16:23 +0100 Message-Id: <1103069783.3406.97.camel@tglx.tec.linutronix.de> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Andrea Arcangeli Cc: Nick Piggin , Martin =?iso-8859-2?Q?MOKREJ=A9?= , Andrew Morton , piggin@cyberone.com.au, chris@tebibyte.org, marcelo.tosatti@cyclades.com, LKML , linux-mm@kvack.org, Rik van Riel List-ID: Andrea, On Wed, 2004-12-15 at 00:55 +0100, Andrea Arcangeli wrote: > On Wed, Dec 15, 2004 at 10:30:18AM +1100, Nick Piggin wrote: > > Was there some swap-token (or can anyone think of any relevant) > > changes recently? > > The only thing I know about recent swap-token changes, is that Andrew > fixed a bug by ignoring the token thing at priority 0, this the > early-oom failures in my queue (the VM bug was introduced sometime > before or during 2.6.9-rc). The fix is already in mainline according to > my out of sync copy of kernel CVS. cset 1.2055.40.21 vmscan: ignore swap token when in trouble It solves one of the problems, but your fix is really the only complete fix I have in hands since this thread(s) started. + my simple changes to the whom to kill selection :) Also your modification slow down the machine in case of low memory. This makes sense and does not hurt anybody. But it's still better than the crappy oom kills which I still have with rc3 even in "normal" desktop usage. We are discussing this since nearly two month. Is there a final fixup in sight before christmas ? And I mean christmas 2004. I'm just waiting for somebody who advises me to put more memory into my boxes. tglx -- 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-mm.org/ . Don't email: aart@kvack.org