Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753772AbZJ2XoL (ORCPT ); Thu, 29 Oct 2009 19:44:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753449AbZJ2XoL (ORCPT ); Thu, 29 Oct 2009 19:44:11 -0400 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:40101 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752385AbZJ2XoK (ORCPT ); Thu, 29 Oct 2009 19:44:10 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Fri, 30 Oct 2009 08:41:34 +0900 From: KAMEZAWA Hiroyuki To: David Rientjes Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Hugh Dickins , Andrea Arcangeli , vedran.furac@gmail.com, KOSAKI Motohiro Subject: Re: [PATCH] oom_kill: use rss value instead of vm size for badness Message-Id: <20091030084134.fc968a90.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: References: <20091028175846.49a1d29c.kamezawa.hiroyu@jp.fujitsu.com> <20091029100042.973328d3.kamezawa.hiroyu@jp.fujitsu.com> <20091029174632.8110976c.kamezawa.hiroyu@jp.fujitsu.com> <20091029181650.979bf95c.kamezawa.hiroyu@jp.fujitsu.com> Organization: FUJITSU Co. LTD. X-Mailer: Sylpheed 2.5.0 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1067 Lines: 29 On Thu, 29 Oct 2009 02:44:45 -0700 (PDT) David Rientjes wrote: > > Then, > > - I'd like to drop file_rss. > > - I'd like to take swap_usage into acccount. > > - I'd like to remove cpu_time bonus. runtime bonus is much more important. > > - I'd like to remove penalty from children. To do that, fork-bomb detector > > is necessary. > > - nice bonus is bad. (We have oom_adj instead of this.) It should be > > if (task_nice(p) < 0) > > points /= 2; > > But we have "root user" bonus already. We can remove this line. > > > > After above, much more simple selection, easy-to-understand, will be done. > > > > Agreed, I think we'll need to rewrite most of the heuristic from scratch. I'd like to post total redesgin of oom-killer in the next week. plz wait. Thanks, -Kame -- 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/