[PATCH v3 03/11] memcg: create extensible page stat update routines

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Mon Oct 18 17:47:40 PDT 2010

On Mon, 18 Oct 2010 17:39:36 -0700
Greg Thelen <gthelen at google.com> wrote:

> Replace usage of the mem_cgroup_update_file_mapped() memcg
> statistic update routine with two new routines:
> * mem_cgroup_inc_page_stat()
> * mem_cgroup_dec_page_stat()
> As before, only the file_mapped statistic is managed.  However,
> these more general interfaces allow for new statistics to be
> more easily added.  New statistics are added with memcg dirty
> page accounting.
> Signed-off-by: Greg Thelen <gthelen at google.com>
> Signed-off-by: Andrea Righi <arighi at develer.com>

Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>

More information about the Containers mailing list