Re: [PATCH v2] cls_cgroup: Fix rcu lockdep warning

From: David Miller
Date: Fri Sep 03 2010 - 12:55:28 EST


From: Li Zefan <lizf@xxxxxxxxxxxxxx>
Date: Fri, 03 Sep 2010 09:42:43 +0800

> Dave reported an rcu lockdep warning on 2.6.35.4 kernel
>
> task->cgroups and task->cgroups->subsys[i] are protected by RCU.
> So we avoid accessing invalid pointers here. This might happen,
> for example, when you are deref-ing those pointers while someone
> move @task from one cgroup to another.
>
> Reported-by: Dave Jones <davej@xxxxxxxxxx>
> Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>

Applied, thanks.
--
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/