Re: Notifier chains are unsafe

From: Alan Stern
Date: Wed Oct 26 2005 - 15:47:38 EST


On Wed, 26 Oct 2005, Andreas Kleen wrote:

> > Note that the RCU documentation says RCU critical sections are not
> > allowed
> > to sleep.
>
> In this case it would be ok.

I don't understand. If it's okay for an RCU critical section to sleep in
this case, why wouldn't it be okay always? What's special here?

Aren't there requirements about critical sections finishing on the same
CPU as they started on?

Can you please explain in more detail?

Alan Stern

-
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/