<s>
In	O
computer	B-General_Concept
operating	I-General_Concept
system	I-General_Concept
design	O
,	O
kernel	B-Algorithm
preemption	I-Algorithm
is	O
a	O
property	O
possessed	O
by	O
some	O
kernels	B-Operating_System
(	O
the	O
cores	O
of	O
operating	B-General_Concept
systems	I-General_Concept
)	O
,	O
in	O
which	O
the	O
CPU	B-Device
can	O
be	O
interrupted	O
in	O
the	O
middle	O
of	O
executing	O
kernel	B-Operating_System
code	O
and	O
assigned	O
other	O
tasks	O
(	O
from	O
which	O
it	O
later	O
returns	O
to	O
finish	O
its	O
kernel	B-Operating_System
tasks	O
)	O
.	O
</s>
<s>
That	O
is	O
to	O
say	O
,	O
the	O
scheduler	O
is	O
permitted	O
to	O
forcibly	O
perform	O
a	O
context	B-Operating_System
switch	I-Operating_System
(	O
on	O
behalf	O
of	O
a	O
runnable	O
and	O
higher-priority	O
process	O
)	O
on	O
a	O
driver	O
or	O
other	O
part	O
of	O
the	O
kernel	B-Operating_System
during	O
its	O
execution	O
,	O
rather	O
than	O
co-operatively	O
waiting	O
for	O
the	O
driver	O
or	O
kernel	B-Operating_System
function	O
(	O
such	O
as	O
a	O
system	B-Operating_System
call	I-Operating_System
)	O
to	O
complete	O
its	O
execution	O
and	O
return	O
control	O
of	O
the	O
processor	O
to	O
the	O
scheduler	O
when	O
done	O
.	O
</s>
<s>
It	O
is	O
used	O
mainly	O
in	O
monolithic	B-Operating_System
and	O
hybrid	B-Operating_System
kernels	I-Operating_System
,	O
where	O
all	O
or	O
most	O
device	B-Application
drivers	I-Application
are	O
run	O
in	O
kernel	B-Operating_System
space	I-Operating_System
.	O
</s>
<s>
Linux	B-Application
is	O
an	O
example	O
of	O
a	O
monolithic-kernel	O
operating	B-General_Concept
system	I-General_Concept
with	O
kernel	B-Algorithm
preemption	I-Algorithm
.	O
</s>
<s>
The	O
main	O
benefit	O
of	O
kernel	B-Algorithm
preemption	I-Algorithm
is	O
that	O
it	O
solves	O
two	O
issues	O
that	O
would	O
otherwise	O
be	O
problematic	O
for	O
monolithic	B-Operating_System
kernels	I-Operating_System
,	O
in	O
which	O
the	O
kernel	B-Operating_System
consists	O
of	O
one	O
large	O
binary	O
.	O
</s>
<s>
Without	O
kernel	B-Algorithm
preemption	I-Algorithm
,	O
two	O
major	O
issues	O
exist	O
for	O
monolithic	B-Operating_System
and	O
hybrid	B-Operating_System
kernels	I-Operating_System
:	O
</s>
<s>
A	O
device	B-Application
driver	I-Application
can	O
enter	O
an	O
infinite	O
loop	O
or	O
other	O
unrecoverable	O
state	O
,	O
crashing	O
the	O
whole	O
system	O
.	O
</s>
<s>
Some	O
drivers	O
and	O
system	B-Operating_System
calls	I-Operating_System
on	O
monolithic	B-Operating_System
kernels	I-Operating_System
can	O
be	O
slow	O
to	O
execute	O
,	O
and	O
cannot	O
return	O
control	O
of	O
the	O
processor	O
to	O
the	O
scheduler	O
or	O
other	O
program	O
until	O
they	O
complete	O
execution	O
.	O
</s>
