Re: [PATCH 1/6] memcg: add mem_cgroup parameter to mem_cgroup_page_stat()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Minchan Kim
Date: Tuesday, November 9, 2010 - 3:53 pm

On Tue, Nov 9, 2010 at 6:24 PM, Greg Thelen <gthelen@google.com> wrote:

I didn't look at further patches so It might be changed.

Now all of caller of mem_cgroup_page_stat except only
dirty_writeback_pages hold rcu_read_lock.
And mem_cgroup_page_stat itself hold rcu_read_lock again.
Couldn't we remove duplicated rcu lock by adding rcu_read_lock in
dirty_writeback_pages for the consistency?


-- 
Kind regards,
Minchan Kim
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/6] memcg: add mem_cgroup parameter to mem_cgr ..., Minchan Kim, (Tue Nov 9, 3:53 pm)
Re: [PATCH 1/6] memcg: add mem_cgroup parameter to mem_cgr ..., KAMEZAWA Hiroyuki, (Mon Nov 15, 8:50 pm)