| Date | Thu, 1 May 2014 09:25:20 -0400 | From | Johannes Weiner <> | Subject | Re: [PATCH 01/17] mm: page_alloc: Do not update zlc unless the zlc is active |
| |
On Thu, May 01, 2014 at 09:44:32AM +0100, Mel Gorman wrote: > The zlc is used on NUMA machines to quickly skip over zones that are full. > However it is always updated, even for the first zone scanned when the > zlc might not even be active. As it's a write to a bitmap that potentially > bounces cache line it's deceptively expensive and most machines will not > care. Only update the zlc if it was active. > > Signed-off-by: Mel Gorman <mgorman@suse.de>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
|