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

From: Paul Menage
Date: Tue Jul 21 2009 - 19:49:18 EST


On Fri, Jul 3, 2009 at 12:07 AM, Li Zefan<lizf@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/