From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by kanga.kvack.org (Postfix) with ESMTP id 2579082F7F for ; Thu, 24 Sep 2015 16:05:14 -0400 (EDT) Received: by wiclk2 with SMTP id lk2so128063007wic.1 for ; Thu, 24 Sep 2015 13:05:13 -0700 (PDT) Received: from gum.cmpxchg.org (gum.cmpxchg.org. [85.214.110.215]) by mx.google.com with ESMTPS id mn7si18687390wjc.178.2015.09.24.13.05.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Sep 2015 13:05:12 -0700 (PDT) Date: Thu, 24 Sep 2015 16:05:04 -0400 From: Johannes Weiner Subject: Re: [PATCH 02/10] mm, page_alloc: Remove unnecessary recalculations for dirty zone balancing Message-ID: <20150924200504.GF3009@cmpxchg.org> References: <1442832762-7247-1-git-send-email-mgorman@techsingularity.net> <1442832762-7247-3-git-send-email-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1442832762-7247-3-git-send-email-mgorman@techsingularity.net> Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman Cc: Andrew Morton , Rik van Riel , Vlastimil Babka , David Rientjes , Joonsoo Kim , Michal Hocko , Linux-MM , LKML On Mon, Sep 21, 2015 at 11:52:34AM +0100, Mel Gorman wrote: > File-backed pages that will be immediately written are balanced between > zones. This heuristic tries to avoid having a single zone filled with > recently dirtied pages but the checks are unnecessarily expensive. Move > consider_zone_balanced into the alloc_context instead of checking bitmaps > multiple times. The patch also gives the parameter a more meaningful name. > > Signed-off-by: Mel Gorman > Acked-by: David Rientjes > Acked-by: Michal Hocko > Acked-by: Vlastimil Babka Acked-by: Johannes Weiner -- 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