Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762834AbZAQPWU (ORCPT ); Sat, 17 Jan 2009 10:22:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758562AbZAQPWA (ORCPT ); Sat, 17 Jan 2009 10:22:00 -0500 Received: from mail-in-07.arcor-online.net ([151.189.21.47]:57479 "EHLO mail-in-07.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758549AbZAQPV7 (ORCPT ); Sat, 17 Jan 2009 10:21:59 -0500 From: Bodo Eggert <7eggert@gmx.de> Subject: Re: Linux killed Kenny, bastard! To: Evgeniy Polyakov , David Rientjes , Alan Cox , linux-kernel@vger.kernel.org, Andrew Morton , Linus Torvalds Reply-To: 7eggert@gmx.de Date: Sat, 17 Jan 2009 16:21:50 +0100 References: User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-Id: X-be10.7eggert.dyndns.org-MailScanner-Information: See www.mailscanner.info for information X-be10.7eggert.dyndns.org-MailScanner: Found to be clean X-be10.7eggert.dyndns.org-MailScanner-From: 7eggert@gmx.de Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 740 Lines: 10 Evgeniy Polyakov wrote: > The only sane way to use oom_adj is > to disable oom killer for the task or make its score very small or very > big, there is really no way to make a finegrained tuning, since score > changes and userspace does not know the algorithm. It does not need to know, it just has to tune until it's about level with the other normal processes if it's to be a normal process, and add or substract one or two to oom_adj if it's avery (un)important process. -- 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/