The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
26 views

how to monitor spinlocks

I'm wondering how I could monitor spinlocks. At my client, we have cpu soft lockup failure, for which, if I understand well, spinlock is a likely cause. Different team use that server for predictive ...
1
vote
0answers
51 views

What does raw_spinlock mean? [closed]

I was studying struct raw_spinlock which is in the /usr/src/linux/include/linux/spinlock_types.h was like this: typedef struct raw_spinlock { arch_spinlock_t raw_lock; #ifdef ...
11
votes
3answers
23k views

what is the difference between spin locks and semaphores?

What are the basic differences between spin locks and semaphores in action?
3
votes
3answers
10k 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 ...
21
votes
4answers
30k views

What is a spinlock in Linux?

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