what are different spinlock hang scenarios on uniprocessor?
I know spinlock is meant for smp. I am curious to know the different scenarios in which spinlock can lead to the hang on uniprocessor.
One scenario could be if a process p1 has taken a spinlock (without interrupts disabled) and an interrupt replacing the p1 and tried to take the same lock can hang cpu.
Any other thoughts are welcomed!