Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756860AbZKMS0g (ORCPT ); Fri, 13 Nov 2009 13:26:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756819AbZKMS02 (ORCPT ); Fri, 13 Nov 2009 13:26:28 -0500 Received: from Cpsmtpm-eml106.kpnxchange.com ([195.121.3.10]:59428 "EHLO CPSMTPM-EML106.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756786AbZKMS0Y convert rfc822-to-8bit (ORCPT ); Fri, 13 Nov 2009 13:26:24 -0500 From: Frans Pop To: Mel Gorman Subject: Re: [PATCH] vmscan: Stop kswapd waiting on congestion when the min watermark is not being met Date: Fri, 13 Nov 2009 19:26:21 +0100 User-Agent: KMail/1.9.9 Cc: Andrew Morton , KOSAKI Motohiro , Jiri Kosina , Sven Geggus , Karol Lewandowski , Tobias Oetiker , linux-kernel@vger.kernel.org, "linux-mm@kvack.org" , Pekka Enberg , Rik van Riel , Christoph Lameter , Stephan von Krawczynski , "Rafael J. Wysocki" , Kernel Testers List References: <20091113142608.33B9.A69D9226@jp.fujitsu.com> <20091114023138.3DA5.A69D9226@jp.fujitsu.com> <20091113181557.GM29804@csn.ul.ie> In-Reply-To: <20091113181557.GM29804@csn.ul.ie> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200911131926.25291.elendil@planet.nl> X-OriginalArrivalTime: 13 Nov 2009 18:26:25.0283 (UTC) FILETIME=[CEE68D30:01CA648E] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1257 Lines: 30 On Friday 13 November 2009, Mel Gorman wrote: > If reclaim fails to make sufficient progress, the priority is raised. > Once the priority is higher, kswapd starts waiting on congestion. > ?However, if the zone is below the min watermark then kswapd needs to > continue working without delay as there is a danger of an increased rate > of GFP_ATOMIC allocation failure. > > This patch changes the conditions under which kswapd waits on > congestion by only going to sleep if the min watermarks are being met. > > This patch replaces > vmscan-take-order-into-consideration-when-deciding-if-kswapd-is-in-troub >le.patch . > > [mel@csn.ul.ie: Add stats to track how relevant the logic is] > From: KOSAKI Motohiro For this to work with git-am, the From: line has to be _above_ the patch description (must be the first line of the mail even). AFAIK at least. > Signed-off-by: KOSAKI Motohiro > Signed-off-by: Mel Gorman Cheers, FJP -- 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/