Re: [patch] memcg: charged pages always have valid per-memcg zoneinfo

From: KAMEZAWA Hiroyuki
Date: Wed Feb 09 2011 - 18:49:25 EST


On Wed, 9 Feb 2011 11:44:35 +0100
Johannes Weiner <hannes@xxxxxxxxxxx> wrote:

> page_cgroup_zoneinfo() will never return NULL for a charged page,
> remove the check for it in mem_cgroup_get_reclaim_stat_from_page().
>
> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>

IIUC, this _was_ required when force_empty() had troubles.
But now, not required.

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/