Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765415AbZARNRX (ORCPT ); Sun, 18 Jan 2009 08:17:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756858AbZARNRO (ORCPT ); Sun, 18 Jan 2009 08:17:14 -0500 Received: from netgear.net.ru ([195.178.208.66]:47759 "EHLO tservice.net.ru" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1756028AbZARNRO (ORCPT ); Sun, 18 Jan 2009 08:17:14 -0500 Date: Sun, 18 Jan 2009 16:17:15 +0300 From: Evgeniy Polyakov To: Bodo Eggert <7eggert@gmx.de> Cc: David Rientjes , Alan Cox , linux-kernel@vger.kernel.org, Andrew Morton , Linus Torvalds Subject: Re: Linux killed Kenny, bastard! Message-ID: <20090118131715.GB19292@ioremap.net> References: <20090117154147.GA12863@ioremap.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 932 Lines: 21 On Sun, Jan 18, 2009 at 01:49:58PM +0100, Bodo Eggert (7eggert@gmx.de) wrote: > > OOM scores can not be reliably tuned system-wide. > > As I said, if a program starts misbehaving, it's mostly not sane to keep > it alive. Besides that, the oom_adj allows you to special case some > processes to be immortal or to be kenny, but you should be prepared for > trouble then. oom_adj can turn off the oom-killer for given PID and make it essentially immortal, it practically can not faingrainely tune this. But even than can only be achieved with lots of problems, that's the main point of the patch: to make things simple for the people who know what they are doing. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/