Re: [PATCH 30/34] mm: page_alloc: cache the last node whose dirty limit is reached

From: Johannes Weiner
Date: Tue Jul 12 2016 - 14:43:53 EST


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 <mgorman@xxxxxxxxxxxxxxxxxxx>
> Acked-by: Vlastimil Babka <vbabka@xxxxxxx>

I guess...

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>