> (btw, kernel preemption IMHO is a sorry and dirty solution for
> problem that it claims to solve)
Its extremely useful for high performance polled IO drivers (such
as the Quickcam). Checking if I need to reschedule costs me about
5% performance on the camera.
I do not argue it's usefulness, it is indeed useful as you have
shown. Other applications exist as well. What I was trying to state
was that the ends need to be acquired in a cleaner fashion, not
that the ends are unnecessary.
David S. Miller