Re: [PATCH 25/27] mm: page_alloc: Cache the last node whose dirty limit is reached

Vlastimil Babka
2016-06-17T11:31:19Z

On 06/09/2016 08:04 PM, 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@techsingularity.net>

Acked-by: Vlastimil Babka <vbabka@suse.cz>