Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760698AbZANAf6 (ORCPT ); Tue, 13 Jan 2009 19:35:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755501AbZANAft (ORCPT ); Tue, 13 Jan 2009 19:35:49 -0500 Received: from netgear.net.ru ([195.178.208.66]:60362 "EHLO tservice.net.ru" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1755079AbZANAfs (ORCPT ); Tue, 13 Jan 2009 19:35:48 -0500 Date: Wed, 14 Jan 2009 03:35:46 +0300 From: Evgeniy Polyakov To: Bill Davidsen Cc: Theodore Tso , Alan Cox , David Rientjes , linux-kernel@vger.kernel.org, Andrew Morton , Linus Torvalds Subject: Re: Linux killed Kenny, bastard! Message-ID: <20090114003546.GA1705@ioremap.net> References: <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> <496D30C3.4010905@tmr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <496D30C3.4010905@tmr.com> 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: 957 Lines: 21 On Tue, Jan 13, 2009 at 07:24:35PM -0500, Bill Davidsen (davidsen@tmr.com) 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. Yes, it allows this. -- 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/