From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id 1EF2E6B004D for ; Thu, 29 Oct 2009 19:44:13 -0400 (EDT) Received: from m4.gw.fujitsu.co.jp ([10.0.50.74]) by fgwmail7.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id n9TNiAUL006551 for (envelope-from kamezawa.hiroyu@jp.fujitsu.com); Fri, 30 Oct 2009 08:44:10 +0900 Received: from smail (m4 [127.0.0.1]) by outgoing.m4.gw.fujitsu.co.jp (Postfix) with ESMTP id 494EF45DE7A for ; Fri, 30 Oct 2009 08:44:10 +0900 (JST) Received: from s4.gw.fujitsu.co.jp (s4.gw.fujitsu.co.jp [10.0.50.94]) by m4.gw.fujitsu.co.jp (Postfix) with ESMTP id 1761F45DE70 for ; Fri, 30 Oct 2009 08:44:10 +0900 (JST) Received: from s4.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s4.gw.fujitsu.co.jp (Postfix) with ESMTP id EFF081DB8040 for ; Fri, 30 Oct 2009 08:44:09 +0900 (JST) Received: from m106.s.css.fujitsu.com (m106.s.css.fujitsu.com [10.249.87.106]) by s4.gw.fujitsu.co.jp (Postfix) with ESMTP id 909141DB803F for ; Fri, 30 Oct 2009 08:44:09 +0900 (JST) Date: Fri, 30 Oct 2009 08:41:34 +0900 From: KAMEZAWA Hiroyuki 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> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org 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 List-ID: 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org