Re: [PATCH][2.6] Allow x86_64 to reenable interrupts on contention

From: David S. Miller
Date: Tue Jul 27 2004 - 21:28:58 EST


On Tue, 27 Jul 2004 19:21:31 -0700
William Lee Irwin III <wli@xxxxxxxxxxxxxx> wrote:

> and may also have issues with
> architectures (e.g. sparc/sparc64) which need the interrupt disablement
> in e.g. spin_lock_irqsave() to be done in the same call frame as the
> spin_unlock_irqrestore() etc.

This only was a problem on sparc, and it no longer exists at all
in 2.6.x kernels. It was too much of a pain to keep teaching
people that violated this, and it resulted in some contorted
code as well.

So don't worry about this at all in 2.6.x and later.
-
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/