preempt_count()

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2023 Oct 4 7:26
Editor
Edited
Edited
2023 Oct 24 15:46

for linux, only system call is preemptive in kernel mode

The kernel can be preempted only when it is executing an exception handler (in particular a system call) and the kernel preemption has not been explicitly disabled
notion image
notion image
  • explicit setting
 

Enabled

notion image
 
 
 
 
 

Recommendations