On Wed, Jul 07, 2004 at 03:59:01AM -0400, Povolotsky, Alexander wrote:
Thanks to both of you for answering !
The catch here is, without the preemptable kernel option, the kernel
can't preempt itself, so if the first process was doing something in the
kernel, there'd be a delay. Even with the option, it can't preempt
itself inside of a critical section, so there will still be a (shorter)
delay.
Yes, I am aware, - thanks to the previous answer (not included here), about
this Linux 2.6
configurable "preemptable kernel" option and was assuming it is configured
and in effect.
Note that the preemptable kernel gives you no guarantee of latency,
though it does reduce the average latency. A different patch was
constructed in the 2.4 era which attempted to provide guaranteed latency
through a different approach (effectively, having all long-running
operations yield).
Attachment:
signature.asc
Description: OpenPGP digital signature