Re: [patch 11/11] mm: memcg: remove unused node/section info frompc->flags

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


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

> To find the page corresponding to a certain page_cgroup, the pc->flags
> encoded the node or section ID with the base array to compare the pc
> pointer to.
>
> Now that the per-memory cgroup LRU lists link page descriptors
> directly, there is no longer any code that knows the page_cgroup but
> not the page.
>
> Signed-off-by: Johannes Weiner <jweiner@xxxxxxxxxx>

Ah, ok. remove init code and use zalloc()

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/