Andrew Morton has called my attention to the locks.
Actually there are two "lock": atomic check for in_interrupt which is a
debugging stuff and isn't necessary. The second one is a spinlock (sp->lock)
guarding TX ring and the hardware command port. It is necessary, and I don't
see how it can be optimized.
Best regards
Andrey V.
Savochkin
-
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/