115k views
5 votes
to lock the kernel on a single processor machine in linux, kernel preemption is disabled.true or false

User Jglatre
by
8.3k points

1 Answer

3 votes

Answer:

FALSE

Step-by-step explanation:

Locking the kernel on a single processor machine in Linux can be achieved by disabling kernel preemption, but this does not mean that kernel preemption is always disabled on a single processor machine.

Kernel preemption refers to the ability of the kernel to be interrupted by higher-priority tasks or events, even if it is in the middle of executing a critical section of code. Disabling kernel preemption can improve the responsiveness and predictability of real-time applications by ensuring that they are not preempted by lower-priority tasks.

On a single processor machine, disabling kernel preemption can be used to lock the kernel and prevent it from being interrupted by other tasks or events. However, kernel preemption can still be enabled on a single processor machine, and it may be desirable to do so in some cases to improve the overall performance and responsiveness of the system.

User Nawrez
by
8.9k points