What are the basic differences between spin locks and semaphores in action?
Why are spin locks good choices in Linux Kernel Design instead of something more common in userland code, such as semaphore or mutex?
I understand that Spinlocks are real waste in Linux Kernel Design. I would like to know why is it like spin locks are good choices in Linux Kernel Design instead of something more common in userland ...
I would like to know about spinlocks in detail? Could someone explain that to me?