Re: FW: spinlocks dont work
From: Brian Gerst
Date: Fri Feb 13 2004 - 17:42:44 EST
RANDAZZO@xxxxxxxxxxx wrote:
On a uniprocessor system, with config_smp NOT Defined...
Note the following example:
driver 'A' calls spin_lock_irqsave and gets through (but does not call
..unlock).
driver 'B' calls spin_lock_irqsave and gets through???
How can B get through if A did not unlock yet?
On UP, spinlocks are no-ops.
--
Brian Gerst
-
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/