User Mode and Kernel Mode
See also: Kernel preemptionIn any given system design, some operations performed by the system may not be preemptible. This usually applies to kernel functions and service interrupts which, if not permitted to run to completion, would tend to produce race conditions resulting in deadlock. Barring the scheduler from preempting tasks while they are processing kernel functions simplifies the kernel design at the expense of system responsiveness. The distinction between user mode and kernel mode, which determines privilege level within the system, may also be used to distinguish whether a task is currently preemptible.
Most modern systems have preemptive kernels, designed to permit tasks to be preempted even when in kernel mode. Examples of such systems are Solaris 2.0/SunOS 5.0, Windows NT, the Linux kernel 2.6 and 3.x, AIX and some BSD systems (NetBSD, since version 5).
Read more about this topic: Preemption (computing)
Famous quotes containing the words user, mode and/or kernel:
“A worker may be the hammers master, but the hammer still prevails. A tool knows exactly how it is meant to be handled, while the user of the tool can only have an approximate idea.”
—Milan Kundera (b. 1929)
“The only mode of obtaining an answer to these questions of the senses is to forego all low curiosity, and, accepting the tide of being which floats us into the secret of nature, work and live, work and live, and all unawares the advancing soul has built and forged for itself a new condition, and the question and the answer are one.”
—Ralph Waldo Emerson (18031882)
“We should never stand upon ceremony with sincerity. We should never cheat and insult and banish one another by our meanness, if there were present the kernel of worth and friendliness. We should not meet thus in haste.”
—Henry David Thoreau (18171862)