Advanced
Operating Systems
Q97 / 100
What is kernel preemption and when is it disabled?
Correct! Well done.
Incorrect.
The correct answer is B) The ability of a higher-priority kernel task to preempt kernel code; disabled during interrupt handlers, spin lock regions, and critical kernel sections
B
Correct Answer
The ability of a higher-priority kernel task to preempt kernel code; disabled during interrupt handlers, spin lock regions, and critical kernel sections
Explanation
Linux 2.6+ added full kernel preemption (CONFIG_PREEMPT). Preemption is disabled in interrupt context, with spinlocks held, and in preempt_disable() sections to prevent data structure corruption.
Progress
97/100