Re: Gurus, a silly question for preemptive behavior

From: Paulo Marques
Date: Tue Dec 21 2004 - 13:48:52 EST


jesse wrote:
Con:

thank you for your prompt reply in the holiday
season.

My point is: Even kernel 2.4 is not preemptive, the latence should be very
minimal.(<300ms)
why user space application with low nice priority
can't be effectively interrupted and holds the CPU
resource since all user space application is
preemptive?

If your process has got work to do and has a higher priority than other processes, it gets to run. If you don't want this behavior, don't give it such a high priority.

If you want low latency to do some quick high priority task, just do it quickly and relinquish the processor, instead of hogging it.

What are you trying to accomplish, anyway?

--
Paulo Marques - www.grupopie.com

"A journey of a thousand miles begins with a single step."
Lao-tzu, The Way of Lao-tzu
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/