Re: [PATCH 09/33] mm: system wide ALLOC_NO_WATERMARK
From: Peter Zijlstra <hidden>
Date: 2007-10-31 10:46:17
Also in:
linux-mm, lkml
Attachments
- signature.asc [application/pgp-signature] 189 bytes
From: Peter Zijlstra <hidden>
Date: 2007-10-31 10:46:17
Also in:
linux-mm, lkml
On Wed, 2007-10-31 at 14:52 +1100, Nick Piggin wrote:
On Wednesday 31 October 2007 03:04, Peter Zijlstra wrote:quoted
Change ALLOC_NO_WATERMARK page allocation such that the reserves are system wide - which they are per setup_per_zone_pages_min(), when we scrape the barrel, do it properly.IIRC it's actually not too uncommon to have allocations coming here via page reclaim. It's not exactly clear that you want to break mempolicies at this point.
Hmm, the way I see it is that mempolicies are mainly for user-space allocations, reserve allocations are always kernel allocations. These already break mempolicies - for example hardirq context allocations. Also, as it stands, the reserve is spread out evenly over all zones/nodes (excluding highmem), so by restricting ourselves to a subset, we don't have access to the full reserve.