On Wed, Aug 29, 2007 at 02:26:15PM -0700, melinda develey wrote: I
> discovered that I called spin_lock two times consecutively without
> calling spin_unlock but my code didn't lock (I was managing an ioctl). 
> Probably I didn't understand how spin_lock works!!!!

spinlocks are no-ops on uniprocessor without preemption.

-Scott
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to