[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56D813DD.4050605@suse.cz>
Date: Thu, 3 Mar 2016 11:37:17 +0100
From: Vlastimil Babka <vbabka@...e.cz>
To: Mel Gorman <mgorman@...hsingularity.net>,
Linux-MM <linux-mm@...ck.org>
Cc: Rik van Riel <riel@...riel.com>,
Johannes Weiner <hannes@...xchg.org>,
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 02/23/2016 04:04 PM, 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: Vlastimil Babka <vbabka@...e.cz>
Powered by blists - more mailing lists