> No, there can be other reasons too. For example, suppose one routine that > gets a read lock calls another that does the same thing. That works well > with rw-semaphores but not with regular ones. That's not contention, it's > something else (poor design perhaps -- but Duncan has his reasons).
For usbfs, the only reason to use a rwsem is to reduce contention. I've done no measurements, so I have no idea if the lock is heavily contended or not. Ciao, Duncan. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel