From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail6.bemta8.messagelabs.com (mail6.bemta8.messagelabs.com [216.82.243.55]) by kanga.kvack.org (Postfix) with ESMTP id 0B8C46B00EE for ; Thu, 11 Aug 2011 05:17:58 -0400 (EDT) Received: from m3.gw.fujitsu.co.jp (unknown [10.0.50.73]) by fgwmail5.fujitsu.co.jp (Postfix) with ESMTP id B96033EE0C0 for ; Thu, 11 Aug 2011 18:17:53 +0900 (JST) Received: from smail (m3 [127.0.0.1]) by outgoing.m3.gw.fujitsu.co.jp (Postfix) with ESMTP id 9AEB345DEB7 for ; Thu, 11 Aug 2011 18:17:53 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (s3.gw.fujitsu.co.jp [10.0.50.93]) by m3.gw.fujitsu.co.jp (Postfix) with ESMTP id 7CF9A45DEB2 for ; Thu, 11 Aug 2011 18:17:53 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 6D8901DB8040 for ; Thu, 11 Aug 2011 18:17:53 +0900 (JST) Received: from m105.s.css.fujitsu.com (m105.s.css.fujitsu.com [10.240.81.145]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 358981DB803C for ; Thu, 11 Aug 2011 18:17:53 +0900 (JST) Date: Thu, 11 Aug 2011 18:10:29 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [PATCH 5/7] mm: vmscan: Do not writeback filesystem pages in kswapd except in high priority Message-Id: <20110811181029.d3c10169.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <1312973240-32576-6-git-send-email-mgorman@suse.de> References: <1312973240-32576-1-git-send-email-mgorman@suse.de> <1312973240-32576-6-git-send-email-mgorman@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman Cc: Linux-MM , LKML , XFS , Dave Chinner , Christoph Hellwig , Johannes Weiner , Wu Fengguang , Jan Kara , Rik van Riel , Minchan Kim On Wed, 10 Aug 2011 11:47:18 +0100 Mel Gorman wrote: > It is preferable that no dirty pages are dispatched for cleaning from > the page reclaim path. At normal priorities, this patch prevents kswapd > writing pages. > > However, page reclaim does have a requirement that pages be freed > in a particular zone. If it is failing to make sufficient progress > (reclaiming < SWAP_CLUSTER_MAX at any priority priority), the priority > is raised to scan more pages. A priority of DEF_PRIORITY - 3 is > considered to be the point where kswapd is getting into trouble > reclaiming pages. If this priority is reached, kswapd will dispatch > pages for writing. > > Signed-off-by: Mel Gorman > Reviewed-by: Minchan Kim Reviewed-by: KAMEZAWA Hiroyuki BTW, I'd like to see summary of the effect of priority.. -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org