[PATCH 3/9] [RFC] Add a back-pointer from struct cg_cgroup_link to struct cgroup

Paul Menage menage at google.com
Tue Jul 21 16:48:56 PDT 2009


On Fri, Jul 3, 2009 at 12:07 AM, Li Zefan<lizf at cn.fujitsu.com> wrote:
>
>> +     write_lock_irq(&css_set_lock);
>
> can be read_lock(&css_set_lock);

I simplified the whole thing by removing the task_lock(current) and
expanding the RCU section to cover the point where we read
current->cgroups too.

Paul


More information about the Containers mailing list