From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frans Pop 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 Message-ID: <200911131926.25291.elendil@planet.nl> References: <20091113142608.33B9.A69D9226@jp.fujitsu.com> <20091114023138.3DA5.A69D9226@jp.fujitsu.com> <20091113181557.GM29804@csn.ul.ie> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20091113181557.GM29804@csn.ul.ie> Content-Disposition: inline Sender: owner-linux-mm@kvack.org List-Id: Content-Type: text/plain; charset="iso-8859-1" To: Mel Gorman 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 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. > =A0However, 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 =46or this to work with git-am, the From: line has to be _above_ the patch= =20 description (must be the first line of the mail even). AFAIK at least. > Signed-off-by: KOSAKI Motohiro > Signed-off-by: Mel Gorman Cheers, =46JP -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 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 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