Re: [PATCH 9/13] memcg: lookup page cgroup (and remove pointerfrom struct page)

From: Peter Zijlstra
Date: Mon Sep 22 2008 - 11:48:33 EST


On Mon, 2008-09-22 at 20:12 +0900, KAMEZAWA Hiroyuki wrote:

> - all page_cgroup struct is maintained by hash.
> I think we have 2 ways to handle sparse index in general
> ...radix-tree and hash. This uses hash because radix-tree's layout is
> affected by memory map's layout.

Could you provide further detail? That is, is this solely because our
radix tree implementation is sucky for large indexes?

If so, I did most of the work of fixing that, just need to spend a
little more time to stabalize the code.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/