Re: SCHED_RR/SCHED_FIFO and kernel threads?

From: Lee Revell
Date: Tue Jun 21 2005 - 19:27:10 EST


On Wed, 2005-06-22 at 00:18 +0200, Patrik Hägglund wrote:
> The only clean solution is probably to have priorities that are
> exclusively reserved for use by the kernel. I saw that kernel threads
> in LynxOS may use a priority of 1/2 above of the user-space tasks it
> serves. This seems like a good solution to the problem.

No, it's not, because some SCHED_FIFO/SCHED_RR threads do not need any
kernel services, and are perfectly happy with stalling the rest of the
kernel until they're done.

Lee

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