On Mon, 5 Feb 2007 22:26:14 +0100 Joris van Rantwijk <[EMAIL PROTECTED]> wrote:
> One more thing to bother you with ;-) > > Since acm->throttle_lock is only used to protect the simple flag byte > acm->throttle, it is somewhat more efficient and convenient to use > an atomic_t instead of a spinlock. atomic_t on many platforms isn't that efficient and there are more cases where the atomic bit operations are fast. How about using test_bit/set_bit/clear_bit/etc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel