Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752738Ab3CUSYI (ORCPT ); Thu, 21 Mar 2013 14:24:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34385 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751437Ab3CUSYG (ORCPT ); Thu, 21 Mar 2013 14:24:06 -0400 Message-ID: <514B4F9C.5040000@redhat.com> Date: Thu, 21 Mar 2013 14:21:16 -0400 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Mel Gorman CC: Andi Kleen , Linux-MM , Jiri Slaby , Valdis Kletnieks , Zlatko Calusic , Johannes Weiner , dormando , Satoru Moriya , Michal Hocko , LKML Subject: Re: [PATCH 06/10] mm: vmscan: Have kswapd writeback pages based on dirty pages encountered, not priority References: <1363525456-10448-1-git-send-email-mgorman@suse.de> <1363525456-10448-7-git-send-email-mgorman@suse.de> <20130317151155.GC2026@suse.de> <514B4925.2010909@redhat.com> <20130321181532.GP1878@suse.de> In-Reply-To: <20130321181532.GP1878@suse.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1352 Lines: 39 On 03/21/2013 02:15 PM, Mel Gorman wrote: > On Thu, Mar 21, 2013 at 01:53:41PM -0400, Rik van Riel wrote: >> On 03/17/2013 11:11 AM, Mel Gorman wrote: >>> On Sun, Mar 17, 2013 at 07:42:39AM -0700, Andi Kleen wrote: >>>> Mel Gorman writes: >>>> >>>>> @@ -495,6 +495,9 @@ typedef enum { >>>>> ZONE_CONGESTED, /* zone has many dirty pages backed by >>>>> * a congested BDI >>>>> */ >>>>> + ZONE_DIRTY, /* reclaim scanning has recently found >>>>> + * many dirty file pages >>>>> + */ >>>> >>>> Needs a better name. ZONE_DIRTY_CONGESTED ? >>>> >>> >>> That might be confusing. The underlying BDI is not necessarily >>> congested. I accept your point though and will try thinking of a better >>> name. >> >> ZONE_LOTS_DIRTY ? >> > > I had changed it to > > ZONE_TAIL_LRU_DIRTY, /* reclaim scanning has recently found > * many dirty file pages at the tail > * of the LRU. > */ > > Is that reasonable? Works for me. -- 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/