Re: [GIT PULL rcu/next] RCU commits for 3.1

From: Peter Zijlstra
Date: Mon Nov 07 2011 - 12:12:18 EST


On Mon, 2011-11-07 at 08:56 -0800, Paul E. McKenney wrote:
> > > code has a problem.
> >
> > yeah, task_struct is rcu-freed
>
> But we are not in an RCU read-side critical section, otherwise the splat
> would not have happened. Or did I miss a turn in the analysis roadmap
> above?

I think cgroup code does get_task_struct()/put_task_struct().
--
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/