So far, the only reasonable way I have found to put RT *scheduling* on NGPT
has been to modify the priority queues on the scheduler [using a simplified
model of your O(1) scheduler]. That gives you, at least, "real time" versus
the other threads. If you want it versus the whole system, then you can
change the attrs of the thread to be SYSTEM scope, so that they compete for
system resources against everybody else [of course, this is cheating, it is
falling back to 1:1 for the real time case].
There are rough edges still, for mutex (futex) waiter selection, signal
delivery, etc ... but so far, I think it is the best sollution [and I'd love
to hear others :)].
Inaky Perez-Gonzalez -- Not speaking for Intel - opinions are my own [or my
fault]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/