[PATCH 01/10] mm: Introduce the memory regions data structure
From: Dave Hansen <hidden>
Date: 2011-05-27 21:32:24
Also in:
linux-mm, lkml
From: Dave Hansen <hidden>
Date: 2011-05-27 21:32:24
Also in:
linux-mm, lkml
On Fri, 2011-05-27 at 23:50 +0530, Vaidyanathan Srinivasan wrote:
The overall idea is to have a VM data structure that can capture various boundaries of memory, and enable the allocations and reclaim logic to target certain areas based on the boundaries and properties required.
It's worth noting that we already do targeted reclaim on boundaries other than zones. The lumpy reclaim and memory compaction logically do the same thing. So, it's at least possible to do this without having the global LRU designed around the way you want to reclaim. Also, if you get _too_ dependent on the global LRU, what are you going to do if our cgroup buddies manage to get cgroup'd pages off the global LRU? -- Dave