Re: [PATCH 03/10] memcg: create extensible page stat update routines

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg Thelen
Date: Monday, October 4, 2010 - 8:43 am

Ciju Rajan K <ciju@linux.vnet.ibm.com> writes:


How are you getting mmotm?

I see the mem_cgroup_update_file_stat() routine added in mmotm
(stamp-2010-09-28-16-13) using patch file:
  http://userweb.kernel.org/~akpm/mmotm/broken-out/memcg-generic-filestat-update-interfa...

  Author: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
  Date:   Tue Sep 28 21:48:19 2010 -0700
  
      This patch extracts the core logic from mem_cgroup_update_file_mapped() as
      mem_cgroup_update_file_stat() and adds a wrapper.
  
      As a planned future update, memory cgroup has to count dirty pages to
      implement dirty_ratio/limit.  And more, the number of dirty pages is
      required to kick flusher thread to start writeback.  (Now, no kick.)
  
      This patch is preparation for it and makes other statistics implementation
      clearer.  Just a clean up.
  
      Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
      Reviewed-by: Greg Thelen <gthelen@google.com>
      Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
      Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

If you are using the zen mmotm repository,
git://zen-kernel.org/kernel/mmotm.git, the commit id of
memcg-generic-filestat-update-interface.patch is
616960dc0cb0172a5e5adc9e2b83e668e1255b50.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/10] memcg: per cgroup dirty page accounting, Greg Thelen, (Sun Oct 3, 11:57 pm)
[PATCH 07/10] memcg: add dirty limits to mem_cgroup, Greg Thelen, (Sun Oct 3, 11:58 pm)
Re: [PATCH 03/10] memcg: create extensible page stat updat ..., Greg Thelen, (Mon Oct 4, 8:43 am)
Re: [PATCH 01/10] memcg: add page_cgroup flags for dirty p ..., KAMEZAWA Hiroyuki, (Mon Oct 4, 11:20 pm)
Re: [PATCH 02/10] memcg: document cgroup dirty memory inte ..., KAMEZAWA Hiroyuki, (Mon Oct 4, 11:48 pm)
Re: [PATCH 03/10] memcg: create extensible page stat updat ..., KAMEZAWA Hiroyuki, (Mon Oct 4, 11:51 pm)
Re: [PATCH 04/10] memcg: disable local interrupts in lock_ ..., KAMEZAWA Hiroyuki, (Mon Oct 4, 11:54 pm)
Re: [PATCH 06/10] memcg: add kernel calls for memcg dirty ..., KAMEZAWA Hiroyuki, (Mon Oct 4, 11:55 pm)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup, KAMEZAWA Hiroyuki, (Tue Oct 5, 12:07 am)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ..., KAMEZAWA Hiroyuki, (Tue Oct 5, 12:13 am)
Re: [PATCH 09/10] writeback: make determine_dirtyable_memo ..., KAMEZAWA Hiroyuki, (Tue Oct 5, 12:15 am)
Re: [PATCH 05/10] memcg: add dirty page accounting infrast ..., KAMEZAWA Hiroyuki, (Tue Oct 5, 12:22 am)
Re: [PATCH 10/10] memcg: check memcg dirty limits in page ..., KAMEZAWA Hiroyuki, (Tue Oct 5, 12:29 am)
Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg d ..., KAMEZAWA Hiroyuki, (Tue Oct 5, 12:31 am)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup, KAMEZAWA Hiroyuki, (Wed Oct 6, 5:13 pm)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup, KAMEZAWA Hiroyuki, (Wed Oct 6, 5:48 pm)
[PATCH] memcg: reduce lock time at move charge (Was Re: [P ..., KAMEZAWA Hiroyuki, (Wed Oct 6, 11:21 pm)
[PATCH] memcg: lock-free clear page writeback (Was Re: [P ..., KAMEZAWA Hiroyuki, (Wed Oct 6, 11:24 pm)
Re: [PATCH] memcg: reduce lock time at move charge (Was Re ..., Daisuke Nishimura, (Thu Oct 7, 12:28 am)
Re: [PATCH] memcg: reduce lock time at move charge (Was Re ..., KAMEZAWA Hiroyuki, (Thu Oct 7, 12:42 am)
Re: [PATCH] memcg: lock-free clear page writeback (Was Re ..., KAMEZAWA Hiroyuki, (Thu Oct 7, 2:05 am)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ..., KAMEZAWA Hiroyuki, (Thu Oct 7, 10:12 pm)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup, KAMEZAWA Hiroyuki, (Mon Oct 11, 5:55 pm)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ..., KAMEZAWA Hiroyuki, (Mon Oct 11, 8:42 pm)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ..., Daisuke Nishimura, (Mon Oct 11, 8:56 pm)
Re: [PATCH v2] memcg: reduce lock time at move charge (Was ..., KAMEZAWA Hiroyuki, (Mon Oct 11, 10:01 pm)
[PATCH v4] memcg: reduce lock time at move charge, KAMEZAWA Hiroyuki, (Mon Oct 11, 10:48 pm)
Re: [PATCH v4] memcg: reduce lock time at move charge, Daisuke Nishimura, (Mon Oct 11, 11:23 pm)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup, Greg Thelen, (Tue Oct 12, 12:32 am)
Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup, KAMEZAWA Hiroyuki, (Tue Oct 12, 1:38 am)
Re: [PATCH 00/10] memcg: per cgroup dirty page accounting, KAMEZAWA Hiroyuki, (Sun Oct 17, 10:56 pm)