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

2010-10-18 Thread Ciju Rajan K
Greg Thelen 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

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

2010-10-18 Thread Ciju Rajan K
Greg Thelen wrote: Ciju Rajan K c...@linux.vnet.ibm.com writes: Greg Thelen 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

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

2010-10-05 Thread KAMEZAWA Hiroyuki
On Sun, 3 Oct 2010 23:57:58 -0700 Greg Thelen gthe...@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

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

2010-10-05 Thread Greg Thelen
KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com writes: On Sun, 3 Oct 2010 23:57:58 -0700 Greg Thelen gthe...@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() *

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

2010-10-05 Thread Minchan Kim
On Sun, Oct 03, 2010 at 11:57:58PM -0700, Greg Thelen 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,

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

2010-10-05 Thread Greg Thelen
Minchan Kim minchan@gmail.com writes: On Sun, Oct 03, 2010 at 11:57:58PM -0700, Greg Thelen 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

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

2010-10-05 Thread Minchan Kim
On Wed, Oct 6, 2010 at 4:59 AM, Greg Thelen gthe...@google.com wrote: Minchan Kim minchan@gmail.com writes: On Sun, Oct 03, 2010 at 11:57:58PM -0700, Greg Thelen wrote: Replace usage of the mem_cgroup_update_file_mapped() memcg statistic update routine with two new routines: *

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

2010-10-04 Thread Greg Thelen
Ciju Rajan K c...@linux.vnet.ibm.com writes: Greg Thelen 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.