Re: [PATCH 2/10] mm/memcg: move reclaim_stat into lruvec

From: KAMEZAWA Hiroyuki
Date: Tue Feb 21 2012 - 03:07:08 EST


On Mon, 20 Feb 2012 15:29:37 -0800 (PST)
Hugh Dickins <hughd@xxxxxxxxxx> wrote:

> With mem_cgroup_disabled() now explicit, it becomes clear that the
> zone_reclaim_stat structure actually belongs in lruvec, per-zone
> when memcg is disabled but per-memcg per-zone when it's enabled.
>
> We can delete mem_cgroup_get_reclaim_stat(), and change
> update_page_reclaim_stat() to update just the one set of stats,
> the one which get_scan_count() will actually use.
>
> Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx>

Seems nice to me.

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/