From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261719AbULBTEa (ORCPT ); Thu, 2 Dec 2004 14:04:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261286AbULBTE3 (ORCPT ); Thu, 2 Dec 2004 14:04:29 -0500 Received: from fw.osdl.org ([65.172.181.6]:11969 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S261719AbULBTD1 (ORCPT ); Thu, 2 Dec 2004 14:03:27 -0500 Date: Thu, 2 Dec 2004 11:07:29 -0800 From: Andrew Morton To: tglx@linutronix.de Cc: andrea@suse.de, marcelo.tosatti@cyclades.com, linux-kernel@vger.kernel.org, nickpiggin@yahoo.com.au Subject: Re: [PATCH] oom killer (Core) Message-Id: <20041202110729.57deaf02.akpm@osdl.org> In-Reply-To: <1102013716.13353.226.camel@tglx.tec.linutronix.de> References: <20041201104820.1.patchmail@tglx> <20041201211638.GB4530@dualathlon.random> <1101938767.13353.62.camel@tglx.tec.linutronix.de> <20041202033619.GA32635@dualathlon.random> <1101985759.13353.102.camel@tglx.tec.linutronix.de> <1101995280.13353.124.camel@tglx.tec.linutronix.de> <20041202164725.GB32635@dualathlon.random> <20041202085518.58e0e8eb.akpm@osdl.org> <20041202180823.GD32635@dualathlon.random> <1102013716.13353.226.camel@tglx.tec.linutronix.de> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Thomas Gleixner wrote: > > FYI, I tried with 2.6 UP and PREEMPT=n. The result is more horrible. The > box just gets stuck in an endless swap in/swap out and does not respond > to anything else than SysRq-T and the reset button. There's a patch in -mm which causes the oom-killer to be invoked each time you hit sysrq-F, which sounds like a fine idea to me. Unfortunately it calls the oom-killer from interrupt context, and I need to fix that up before the patch goes any further.