I'm _really_ in favor of low latency soft rt tasks in Linux, but adding
calls to the scheduler has a cost and it may not be easy to measure
until it is too late.
while size !=0
get a buffer
copy from user space to buffer
send buffer to device queue
decrement size
may be a whole lot faster than
while size !=0
get a buffer
copy from user space to buffer
send buffer to device queue
if(needs_resched)schedule();
decrement size
simply because of cache locality + schedule cost + process switch time.
So which is more important?
-
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/