Re: [PATCH 6/6] sched: disabled rt-bandwidth by default

From: Theodore Tso
Date: Tue Aug 26 2008 - 13:56:13 EST


On Tue, Aug 26, 2008 at 03:31:27PM +0200, Stefani Seibold wrote:
>
> Sorry, the world of embedded programming is sometime stranger than in
> theory. Normally it would not happen that a real-time process locks the
> CPU for more than 1 sec. But in some circumstances, especially FPGA
> initialisation and long term measurements it is possible that the
> real-time process locks the cpu for more than a, sometime for more than
> 10 sec. If the embedded program has designed it in that way, this
> behaviour is desired.
>

And if that's true, the embedded program can adjust the ulimit to
change the priority levels as appropriately. Real-time programming
will always required a bit more configuration, such as what priority
various hard and soft interrupt routines will run it. This is just
one more configuration option.

> What coming at next? A device driver manager, which kills any driver
> which use to much CPU resource? Or throttle/kicks off the responsible
> driver if the hardware generates to many interrupts?

Actually, we have both of these already. :-)

- Ted
--
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/