From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Fengguang Subject: Re: [PATCH] vmscan: synchronous lumpy reclaim don't call congestion_wait() Date: Sun, 1 Aug 2010 18:42:32 +0800 Message-ID: <20100801104232.GA17573@localhost> References: <20100801085134.GA15577@localhost> <20100801180751.4B0E.A69D9226@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andrew Morton , Mel Gorman , Minchan Kim , Andy Whitcroft , Rik van Riel , Christoph Hellwig , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-mm@kvack.org" , Dave Chinner , Chris Mason , Nick Piggin , Johannes Weiner , KAMEZAWA Hiroyuki , Andrea Arcangeli , Andreas Mohr , Bill Davidsen , Ben Gamari To: KOSAKI Motohiro Return-path: Content-Disposition: inline In-Reply-To: <20100801180751.4B0E.A69D9226@jp.fujitsu.com> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org > If the system 512MB memory, DEF_PRIORITY mean 128kB scan and It takes 4096 > shrink_page_list() calls to scan 128kB (i.e. 128kB/32=4096) memory. Err you must forgot the page size. 128kB means 128kB/4kB=32 pages which fit exactly into one SWAP_CLUSTER_MAX batch. The shrink_page_list() call times has nothing to do DEF_PRIORITY. Thanks, Fengguang -- 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