[Question] race between spin_lock and spin_unlock
Ming Lei
tom.leiming at gmail.com
Tue Jun 25 07:19:02 EDT 2013
On Tue, Jun 25, 2013 at 6:59 PM, Will Deacon <will.deacon at arm.com> wrote:
>
> There's no problem, because spin_unlock(&B) in the interrupt handler on CPU0
> (which must happen before it returns from the interrupt) will send a further
> event and the wfe encountered when resuming spin_lock(&A) will not wait.
Got it, thanks for your explanation.
Thanks,
--
Ming Lei
More information about the linux-arm-kernel
mailing list