From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751214AbcGLSnv (ORCPT ); Tue, 12 Jul 2016 14:43:51 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:52032 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750838AbcGLSnu (ORCPT ); Tue, 12 Jul 2016 14:43:50 -0400 Date: Tue, 12 Jul 2016 14:43:36 -0400 From: Johannes Weiner To: Mel Gorman Cc: Andrew Morton , Linux-MM , Rik van Riel , Vlastimil Babka , Minchan Kim , Joonsoo Kim , LKML Subject: Re: [PATCH 30/34] mm: page_alloc: cache the last node whose dirty limit is reached Message-ID: <20160712184336.GA8629@cmpxchg.org> References: <1467970510-21195-1-git-send-email-mgorman@techsingularity.net> <1467970510-21195-31-git-send-email-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1467970510-21195-31-git-send-email-mgorman@techsingularity.net> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 08, 2016 at 10:35:06AM +0100, Mel Gorman wrote: > If a page is about to be dirtied then the page allocator attempts to limit > the total number of dirty pages that exists in any given zone. The call > to node_dirty_ok is expensive so this patch records if the last pgdat > examined hit the dirty limits. In some cases, this reduces the number of > calls to node_dirty_ok(). > > Signed-off-by: Mel Gorman > Acked-by: Vlastimil Babka I guess... Acked-by: Johannes Weiner