Re: [patch 09/11] mm: collect LRU list heads into struct lruvec

From: KAMEZAWA Hiroyuki
Date: Tue Sep 13 2011 - 06:44:21 EST


On Mon, 12 Sep 2011 12:57:26 +0200
Johannes Weiner <jweiner@xxxxxxxxxx> wrote:

> Having a unified structure with a LRU list set for both global zones
> and per-memcg zones allows to keep that code simple which deals with
> LRU lists and does not care about the container itself.
>
> Once the per-memcg LRU lists directly link struct pages, the isolation
> function and all other list manipulations are shared between the memcg
> case and the global LRU case.
>
> Signed-off-by: Johannes Weiner <jweiner@xxxxxxxxxx>

Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

--
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/