lkml.org 
[lkml]   [2009]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 3/9] [RFC] Add a back-pointer from struct cg_cgroup_link to struct cgroup
From
On Fri, Jul 3, 2009 at 12:07 AM, Li Zefan<lizf@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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-07-22 01:51    [W:0.065 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site