I am nervous about this characterization. As I have said many times,
"hard realtime" normally *implies* a lot more than we need for
real-time audio+MIDI applications. All we need is guaranteed
scheduling response. We don't need QOS guarantees for any other
subsystems, for example (it would be nice, but its not necessary).
Part of this is because SCHED_FIFO already offers so much. All thats
missing is the guarantee that within, oh, lets say 0.25msec of the
interrupt that makes a SCHED_FIFO thread ready to run, the thread is
running. In fact, its precisely this scheduling response that makes
other QOS guarantees hard to make. Thats fine with me.
I know that "shrinking" the list of requirements to this doesn't
actually make it much easier to implement.
I'd like to get a bit more specific though, because the heat+light
surrounding this issue is clouding the substance of the whole thing.
I'd like to try to get some people to use the latency identifying
patch that was mentioned here yesterday, and run it enough times on
enough different systems that we can identify just where the codepaths
are that prevent good scheduling response from happening now.
Once we have them identified, we can examine each one, and figure out
if there really are hard design problems associated with it, or if it
seems truly justifiable (even on aesthetic terms) to add a preemption
point. Linus, Ingo, Andrea and others have noted that it seems OK to
add them to the uaccess stuff already.
--p
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/