Question: Why does the Linux kernel have a policy that a process cannot hold a spinlock while attempting to acquire a semaphore? A context switch may
Why does the Linux kernel have a policy that a process cannot hold a spinlock while attempting to acquire a semaphore?
A context switch may be required when a process must wait while acquiring a semaphore.
A spinlock may be held too long when a process is put to sleep while obtaining a semaphore.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
