Re: question on spinlocks

Thunder from the hill (thunder@lightweight.ods.org)
Sun, 1 Sep 2002 16:16:00 -0600 (MDT)


Hi,

On 1 Sep 2002, Robert Love wrote:
> spin_lock_irq(&lck);
> ...
> spin_unlock(&lck);
> schedule();
> spin_lock_irq(&lck);
> ...
> spin_unlock_irq(&lck);

That makes me understand his intention a lot more. I must have got beaten
up by the "irqsave".

Thunder

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