Re: [PATCH V3 5/8] memcg: add per cgroup writeback pages accounting

2013-01-09 Thread Sha Zhengju
On Mon, Jan 7, 2013 at 4:07 AM, Greg Thelen wrote: > On Tue, Dec 25 2012, Sha Zhengju wrote: > >> From: Sha Zhengju >> >> Similar to dirty page, we add per cgroup writeback pages accounting. The lock >> rule still is: >> mem_cgroup_begin_update_page_stat() >> modify page WRITEBACK

Re: [PATCH V3 5/8] memcg: add per cgroup writeback pages accounting

2013-01-06 Thread Greg Thelen
On Tue, Dec 25 2012, Sha Zhengju wrote: > From: Sha Zhengju > > Similar to dirty page, we add per cgroup writeback pages accounting. The lock > rule still is: > mem_cgroup_begin_update_page_stat() > modify page WRITEBACK stat > mem_cgroup_update_page_stat() > mem_c

Re: [PATCH V3 5/8] memcg: add per cgroup writeback pages accounting

2013-01-02 Thread Michal Hocko
On Wed 26-12-12 01:26:48, Sha Zhengju wrote: > From: Sha Zhengju > > Similar to dirty page, we add per cgroup writeback pages accounting. The lock > rule still is: > mem_cgroup_begin_update_page_stat() > modify page WRITEBACK stat > mem_cgroup_update_page_stat() >

Re: [PATCH V3 5/8] memcg: add per cgroup writeback pages accounting

2012-12-27 Thread Kamezawa Hiroyuki
(2012/12/26 2:26), Sha Zhengju wrote: > From: Sha Zhengju > > Similar to dirty page, we add per cgroup writeback pages accounting. The lock > rule still is: > mem_cgroup_begin_update_page_stat() > modify page WRITEBACK stat > mem_cgroup_update_page_stat() > mem

[PATCH V3 5/8] memcg: add per cgroup writeback pages accounting

2012-12-25 Thread Sha Zhengju
From: Sha Zhengju Similar to dirty page, we add per cgroup writeback pages accounting. The lock rule still is: mem_cgroup_begin_update_page_stat() modify page WRITEBACK stat mem_cgroup_update_page_stat() mem_cgroup_end_update_page_stat() There're two writeback int