[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160223180436.GA13816@cmpxchg.org>
Date: Tue, 23 Feb 2016 10:04:36 -0800
From: Johannes Weiner <hannes@...xchg.org>
To: Mel Gorman <mgorman@...hsingularity.net>
Cc: Linux-MM <linux-mm@...ck.org>, Rik van Riel <riel@...riel.com>,
Vlastimil Babka <vbabka@...e.cz>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 01/27] mm, page_alloc: Use ac->classzone_idx instead of
zone_idx(preferred_zone)
On Tue, Feb 23, 2016 at 03:04:24PM +0000, Mel Gorman wrote:
> ac->classzone_idx is determined by the index of the preferred zone and cached
> to avoid repeated calculations. wake_all_kswapds() should use it instead of
> using zone_idx() within a loop.
>
> Signed-off-by: Mel Gorman <mgorman@...hsingularity.net>
Acked-by: Johannes Weiner <hannes@...xchg.org>
Powered by blists - more mailing lists