Re: [PATCH 4/6] memcg: simplify mem_cgroup_page_stat()

From: KAMEZAWA Hiroyuki
Date: Mon Nov 15 2010 - 23:04:28 EST


On Tue, 9 Nov 2010 01:24:29 -0800
Greg Thelen <gthelen@xxxxxxxxxx> wrote:

> The cgroup given to mem_cgroup_page_stat() is no allowed to be
> NULL or the root cgroup. So there is no need to complicate the code
> handling those cases.
>
> Signed-off-by: Greg Thelen <gthelen@xxxxxxxxxx>

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/