Messages in this thread | | | Date | Tue, 21 Jul 2009 16:48:56 -0700 | Subject | Re: [PATCH 3/9] [RFC] Add a back-pointer from struct cg_cgroup_link to struct cgroup | From | Paul Menage <> |
| |
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/
| |