It seems that you can disable interrupt when acquire a spin lock. But is it preemptable? I suspect not. But what if the critical section takes too long to finish(in this case, a semaphore would be more appropriate tho. But what happens if it's a spin lock)?
Thanks,