Re: [PATCH 6/7] memcg: add per cgroup writeback pages accounting

From: Fengguang Wu
Date: Mon Jul 09 2012 - 01:25:57 EST


> >>>Where is the MEM_CGROUP_STAT_FILE_WRITEBACK increased?
> >>>
> >>It's in account_page_writeback().
> >>
> >> void account_page_writeback(struct page *page)
> >> {
> >>+ mem_cgroup_inc_page_stat(page, MEM_CGROUP_STAT_FILE_WRITEBACK);
> >> inc_zone_page_state(page, NR_WRITEBACK);
> >> }
> >I didn't find that chunk, perhaps it's lost due to rebase..
>
> Ah? a bit weird... you can refer to the link
> http://thread.gmane.org/gmane.linux.kernel.cgroups/3134
> which is an integral one. Thanks!

Ah I got it. Sorry I overlooked it..and the new view does help make it
obvious ;)

Thanks,
Fengguang
--
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/