Re: [patch 2/5] memcg: change page_cgroup_zoneinfo signature

From: KAMEZAWA Hiroyuki
Date: Thu Feb 03 2011 - 19:09:17 EST


On Thu, 3 Feb 2011 15:26:03 +0100
Johannes Weiner <hannes@xxxxxxxxxxx> wrote:

> Instead of passing a whole struct page_cgroup to this function, let it
> take only what it really needs from it: the struct mem_cgroup and the
> page.
>
> This has the advantage that reading pc->mem_cgroup is now done at the
> same place where the ordering rules for this pointer are enforced and
> explained.
>
> It is also in preparation for removing the pc->page backpointer.
>
> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>

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