Messages in this thread | | | Subject | Re: [RFC] [PATCH 8/9] memcg: remove page_cgroup pointer from memmap | From | Dave Hansen <> | Date | Fri, 12 Sep 2008 09:23:13 -0700 |
| |
On Fri, 2008-09-12 at 09:19 -0700, Dave Hansen wrote: > On Fri, 2008-09-12 at 09:12 -0700, Balbir Singh wrote: > > 3. Integrate with sparsemem (last resort for performance), Dave Hansen suggested > > adding a mem_section member and using that. > > I also suggested using the sparsemem *structure* without necessarily > using it for pfn_to_page() lookups. That'll take some rework to > separate out SPARSEMEM_FOR_MEMMAP vs. CONFIG_SPARSE_STRUCTURE_FUN, but > it should be able to be prototyped pretty fast.
Heh, now that I think about it, you could also use vmemmap to do the same thing.
-- Dave
| |