Which of the following statements is not true about spinlocks in Linux?
A) Spinlocks cannot be used on single processor machines.
B) A thread may disable kernel preemption on Symmetric Multi Processing machines instead of acquiring spinlocks.
C) A thread that acquires a spinlock cannot acquire the same lock a second time without first releasing the lock.
D) The Linux kernel is designed so that the spinlock is held only for only short durations.
Correct Answer:
Verified
Q13: Alternate approaches such as transactional memory or
Q14: Atomic integers in Linux are useful when
A)
Q15: A thread using POSIX condition variables, a
Q16: In the solution for bounded buffer problem
Q17: A(n) _ is a sequence of read-write
Q19: In the structure of the producer process
Q20: The signal( ) operation in the example
Q21: In JAVA monitors, when a thread is
Q22: Explain the relationship between the state of
Q23: Describe the mechanisms used for synchronization in
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents