Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754079Ab0H0Jil (ORCPT ); Fri, 27 Aug 2010 05:38:41 -0400 Received: from gir.skynet.ie ([193.1.99.77]:42304 "EHLO gir.skynet.ie" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753472Ab0H0Jij (ORCPT ); Fri, 27 Aug 2010 05:38:39 -0400 Date: Fri, 27 Aug 2010 10:38:25 +0100 From: Mel Gorman To: Wu Fengguang Cc: Minchan Kim , "linux-mm@kvack.org" , "linux-fsdevel@vger.kernel.org" , Andrew Morton , Christian Ehrhardt , Johannes Weiner , Jan Kara , "linux-kernel@vger.kernel.org" , Rik van Riel , KOSAKI Motohiro , KAMEZAWA Hiroyuki , Li Shaohua Subject: Re: [RFC PATCH 0/3] Do not wait the full timeout on congestion_wait when there is no congestion Message-ID: <20100827093825.GF19556@csn.ul.ie> References: <1282835656-5638-1-git-send-email-mel@csn.ul.ie> <20100826172038.GA6873@barrios-desktop> <20100827012147.GC7353@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20100827012147.GC7353@localhost> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 886 Lines: 22 On Fri, Aug 27, 2010 at 09:21:47AM +0800, Wu Fengguang wrote: > Minchan, > > It's much cleaner to keep the unchanged congestion_wait() and add a > congestion_wait_check() for converting problematic wait sites. The > too_many_isolated() wait is merely a protective mechanism, I won't > bother to improve it at the cost of more code. > This is what I've done. I dropped the patch again and am using wait_iff_congested(). I left the too_many_isolated() callers as congestion_wait(). -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- 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/