From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail137.messagelabs.com (mail137.messagelabs.com [216.82.249.19]) by kanga.kvack.org (Postfix) with SMTP id 7B28D6B004D for ; Thu, 9 Jul 2009 02:24:54 -0400 (EDT) Received: from m1.gw.fujitsu.co.jp ([10.0.50.71]) by fgwmail6.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id n696dMgV007475 for (envelope-from kosaki.motohiro@jp.fujitsu.com); Thu, 9 Jul 2009 15:39:22 +0900 Received: from smail (m1 [127.0.0.1]) by outgoing.m1.gw.fujitsu.co.jp (Postfix) with ESMTP id 38C6F45DE4E for ; Thu, 9 Jul 2009 15:39:22 +0900 (JST) Received: from s1.gw.fujitsu.co.jp (s1.gw.fujitsu.co.jp [10.0.50.91]) by m1.gw.fujitsu.co.jp (Postfix) with ESMTP id 0652045DE4D for ; Thu, 9 Jul 2009 15:39:22 +0900 (JST) Received: from s1.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s1.gw.fujitsu.co.jp (Postfix) with ESMTP id E128FE08005 for ; Thu, 9 Jul 2009 15:39:21 +0900 (JST) Received: from m107.s.css.fujitsu.com (m107.s.css.fujitsu.com [10.249.87.107]) by s1.gw.fujitsu.co.jp (Postfix) with ESMTP id 980C9E08002 for ; Thu, 9 Jul 2009 15:39:21 +0900 (JST) From: KOSAKI Motohiro Subject: Re: [RFC PATCH 1/2] vmscan don't isolate too many pages in a zone In-Reply-To: <20090708215105.5016c929@bree.surriel.com> References: <20090708031901.GA9924@localhost> <20090708215105.5016c929@bree.surriel.com> Message-Id: <20090709153753.23AD.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Thu, 9 Jul 2009 15:39:20 +0900 (JST) Sender: owner-linux-mm@kvack.org To: Rik van Riel Cc: kosaki.motohiro@jp.fujitsu.com, Wu Fengguang , LKML , linux-mm , Andrew Morton , Minchan Kim List-ID: Hi > When way too many processes go into direct reclaim, it is possible > for all of the pages to be taken off the LRU. One result of this > is that the next process in the page reclaim code thinks there are > no reclaimable pages left and triggers an out of memory kill. > > One solution to this problem is to never let so many processes into > the page reclaim path that the entire LRU is emptied. Limiting the > system to only having half of each inactive list isolated for > reclaim should be safe. Thanks good patch. I'd like to run several benchmark and compare my and your patches. Can you please gime me few days? -- 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