The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
89 views

spinlock sharing between process and interrupt context [closed]

If a spinlock is held in a process context, what will happen if the same spinlock is required in an interrupt context? Either the interrupt handler will wait until the spinlock is released by the ...
10
votes
3answers
16k views

what is the difference between spin locks and semaphores?

What are the basic differences between spin locks and semaphores in action?
2
votes
3answers
5k views

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 ...
17
votes
4answers
19k views

What is a spinlock in Linux?

I would like to know about spinlocks in detail? Could someone explain that to me?