The trouble is that on the x86, disabling just some interrupts means
you have to talk to the interrupt controller, which is excessively
slow.
There was a paper by Chris Small a couple of years ago that suggested
that the best thing to do (on the x86, anyway) was to use cli/sti for
small critical sections and talk to the interrupt controller only if
you were going to have interrupts off for a good while.
I can dig up the exact reference if you like, or you should be able to
find it under http://www.eecs.harvard.edu/~chris.
-- - David A. Holland | (please continue to send non-list mail to dholland@cs.utoronto.ca | dholland@hcs.harvard.edu. yes, I moved.)Any netkit mail should be sent to netbug@ftp.uk.linux.org, not me.
- 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/