Re: [PATCH 30/34] mm: page_alloc: cache the last node whose dirty limit is reached
From: Johannes Weiner <hannes@cmpxchg.org>
Date: 2016-07-12 18:43:51
Also in:
lkml
From: Johannes Weiner <hannes@cmpxchg.org>
Date: 2016-07-12 18:43:51
Also in:
lkml
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 <redacted> Acked-by: Vlastimil Babka <redacted>
I guess... Acked-by: Johannes Weiner <hannes@cmpxchg.org> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>