SUPPORT THE WORK

GetWiki

kernel preemption

ARTICLE SUBJECTS
aesthetics  →
being  →
complexity  →
database  →
enterprise  →
ethics  →
fiction  →
history  →
internet  →
knowledge  →
language  →
licensing  →
linux  →
logic  →
method  →
news  →
perception  →
philosophy  →
policy  →
purpose  →
religion  →
science  →
sociology  →
software  →
truth  →
unix  →
wiki  →
ARTICLE TYPES
essay  →
feed  →
help  →
system  →
wiki  →
ARTICLE ORIGINS
critical  →
discussion  →
forked  →
imported  →
original  →
kernel preemption
[ temporary import ]
please note:
- the content below is remote from Wikipedia
- it has been imported raw for GetWiki
In computer operating system design, kernel preemption is a property possessed by some kernels (the cores of operating systems), in which the CPU can be interrupted in the middle of executing kernel code and assigned other tasks (from which it later returns to finish its kernel tasks).

Details

Specifically, the scheduler is permitted to forcibly perform a context switch (on behalf of a runnable and higher-priority process) on a driver or other part of the kernel during its execution, rather than co-operatively waiting for the driver or kernel function (such as a system call) to complete its execution and return control of the processor to the scheduler when done.WEB
,weblink
, Preemption under Linux
, 2009-08-22, 2016-06-10
, kernelnewbies.org
, WEB
,weblink
, Driver porting: the preemptible kernel
, 2003-02-24, 2016-06-10
, Jonathan Corbet, LWN.net
, WEB
,weblink
, FreeBSD Architecture Handbook, Chapter 8. SMPng Design Document, Section 8.3. General Architecture and Design
, 2016-06-10
, freebsd.org
, WEB
,weblink
, Lowering Latency in Linux: Introducing a Preemptible Kernel
, 2002-05-01, 2016-06-10
, Robert Love, Linux Journal
, It is used mainly in monolithic and hybrid kernels, where all or most device drivers are run in kernel space. Linux is an example of a monolithic-kernel operating system with kernel preemption. The main benefit of kernel preemption is that it solves two issues that would otherwise be problematic for monolithic kernels, in which the kernel consists of one large binary.BOOK, Linux Kernel Development, 978-0672329463, Robert Love, 3, 2010, Pearson Education, Without kernel preemption, two major issues exist for monolithic and hybrid kernels:
  • A device driver can enter an infinite loop or other unrecoverable state, crashing the whole system.
  • Some drivers and system calls on monolithic kernels can be slow to execute, and cannot return control of the processor to the scheduler or other program until they complete execution.

See also

References

{{Reflist}}

- content above as imported from Wikipedia
- "kernel preemption" does not exist on GetWiki (yet)
- time: 8:41pm EDT - Fri, May 10 2024
[ this remote article is provided by Wikipedia ]
LATEST EDITS [ see all ]
GETWIKI 23 MAY 2022
GETWIKI 09 JUL 2019
Eastern Philosophy
History of Philosophy
GETWIKI 09 MAY 2016
GETWIKI 18 OCT 2015
M.R.M. Parrott
Biographies
GETWIKI 20 AUG 2014
CONNECT