From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx158.postini.com [74.125.245.158]) by kanga.kvack.org (Postfix) with SMTP id 389C18D0011 for ; Thu, 6 Dec 2012 15:32:36 -0500 (EST) Message-ID: <50C100D2.4010103@redhat.com> Date: Thu, 06 Dec 2012 15:32:18 -0500 From: Rik van Riel MIME-Version: 1.0 Subject: Re: kswapd craziness in 3.7 References: <50B77F84.1030907@leemhuis.info> <20121129170512.GI2301@cmpxchg.org> <50B8A8E7.4030108@leemhuis.info> <20121201004520.GK2301@cmpxchg.org> <50BC6314.7060106@leemhuis.info> <20121203194208.GZ24381@cmpxchg.org> <20121204214210.GB20253@cmpxchg.org> <20121205030133.GA17438@wolff.to> <20121206173742.GA27297@wolff.to> <20121206202325.GA1498@cmpxchg.org> In-Reply-To: <20121206202325.GA1498@cmpxchg.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Johannes Weiner Cc: Linus Torvalds , Bruno Wolff III , Thorsten Leemhuis , Mel Gorman , Andrew Morton , George Spelvin , Johannes Hirte , Tomas Racek , Jan Kara , Dave Hansen , Josh Boyer , Valdis Kletnieks , Jiri Slaby , Zdenek Kabelac , linux-mm , Linux Kernel Mailing List , John Ellson On 12/06/2012 03:23 PM, Johannes Weiner wrote: > From: Johannes Weiner > Subject: [patch] mm: vmscan: fix inappropriate zone congestion clearing > > c702418 ("mm: vmscan: do not keep kswapd looping forever due to > individual uncompactable zones") removed zone watermark checks from > the compaction code in kswapd but left in the zone congestion > clearing, which now happens unconditionally on higher order reclaim. > > This messes up the reclaim throttling logic for zones with > dirty/writeback pages, where zones should only lose their congestion > status when their watermarks have been restored. > > Remove the clearing from the zone compaction section entirely. The > preliminary zone check and the reclaim loop in kswapd will clear it if > the zone is considered balanced. > > Signed-off-by: Johannes Weiner Reviewed-by: Rik van Riel -- All rights reversed -- 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