Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761248AbZANAZm (ORCPT ); Tue, 13 Jan 2009 19:25:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757127AbZANAZb (ORCPT ); Tue, 13 Jan 2009 19:25:31 -0500 Received: from mail.tmr.com ([64.65.253.246]:56642 "EHLO partygirl.tmr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758276AbZANAZ3 (ORCPT ); Tue, 13 Jan 2009 19:25:29 -0500 Message-ID: <496D30C3.4010905@tmr.com> Date: Tue, 13 Jan 2009 19:24:35 -0500 From: Bill Davidsen Organization: TMR Associates Inc, Schenectady NY User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20081217 Fedora/1.1.14-1.fc9 SeaMonkey/1.1.14 MIME-Version: 1.0 To: Evgeniy Polyakov CC: Theodore Tso , Alan Cox , David Rientjes , linux-kernel@vger.kernel.org, Andrew Morton , Linus Torvalds Subject: Re: Linux killed Kenny, bastard! References: <20090112162938.GA22647@ioremap.net> <496BCB7A.2010804@tmr.com> <20090112231728.GA23803@ioremap.net> <20090113085244.GA13796@ioremap.net> <20090113115408.GA22289@ioremap.net> <20090113121510.68a55fe9@lxorguk.ukuu.org.uk> <20090113122904.GC25011@ioremap.net> <20090113131937.GB17664@mit.edu> <20090113133555.GA28107@ioremap.net> In-Reply-To: <20090113133555.GA28107@ioremap.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1011 Lines: 24 Evgeniy Polyakov wrote: > So effectively oom_adj only works as enable/disable switch, and since no > one knows how to tune it, it is better to do not touch at all. And get > ssh killed. I believe if it is ever used then only to disable oom at > all, which is wrong, since task still may be killed but after some > others. My patch adds a simple priority for that based on the name of > the process, which are known to the administrators who maintain given > system. > > If nothing else, this would seem to reduce the number of processes for which the OOM coefficient of evil must be calculated. -- Bill Davidsen "Woe unto the statesman who makes war without a reason that will still be valid when the war is over..." Otto von Bismark -- 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/