[Devel] Re: [PATCH 2/3] ftrace: use struct pid
Steven Rostedt
rostedt at goodmis.org
Thu Dec 4 07:44:44 PST 2008
On Thu, 4 Dec 2008, Dave Hansen wrote:
> >
> > We probably should. Historically read_lock(&tasklist_lock) implies
> > rcu_read_lock(). And the tasklist lock is what we hold when it is
> > safe.
>
> So, Dipankar tells me that you really do need rcu_read_lock/unlock() for
> the guarantee here; the tasklist lock is not sufficient. The realtime
> kernel will preempt even those sections covered by spinlocks.
Yes it will.
-- Steve
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list