Kernel Semaphore

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2023 Nov 13 7:15
Editor
Edited
Edited
2023 Nov 19 15:55
Refs
Refs
Semaphore

Kernel semaphores are “sleeping locks”

Cannot be used in interrupt context because it is blocking kernel locking. Semaphores can only be used in process context (system calls, workqueues).
So the circumstance is limited
Blocking
and single cpu can be used
special purposed binary semaphore
notion image
 
 
 
 
 
 
 

Recommendations