Re: spin_lock_irq vs. spin_lock_irqsave.

From: Tigran Aivazian (tigran@veritas.com)
Date: Mon Jun 26 2000 - 04:20:47 EST


On Sat, 17 Jun 2000, Manfred Spraul wrote:
>
> The _bh variants disable bottom half delivery [softirqs, tasklets and the
> old bottom halfs such as timers]. Within your bh handler you can use
> spin_lock() instead of spin_lock_bh().

it would appear that _bh variants disable bottom half delivery on the same
cpu - can't they be delivered on a different one? Or is the name
"local_bh_disable()" deceptive and really means "global_bh_disable()"?

Regards,
Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:08 EST