Don't Do That Then. The driver is broken, not the model. Fix it.
It ought to be possible to devise a test for debugging drivers, similar in
concept to the slab poisoning, which will BUG() if a process has blocked for
too long. Could the NMI watchdog or something similar be extended to do
this? Would we get a useful backtrace?
This can automatically find many of the instances of badly-behaved code
which causes high latency, but can also be turned off in production kernels.
-- dwmw2
- 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/