Messages in this thread | | | Date | Fri, 13 Feb 2004 13:34:45 -0800 | From | Tim Hockin <> | Subject | Re: FW: spinlocks dont work |
| |
On Fri, Feb 13, 2004 at 04:12:08PM -0500, RANDAZZO@ddc-web.com 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?
Because actual mutexing is a no-op without CONFIG_SMP. What you have is a BUG. Don't do that.
- 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/
| |