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

2016-07-12 Thread Johannes Weiner
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

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

2016-07-08 Thread Mel Gorman
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 t