Re: CDC-ACM driver: data duplication due to throttling

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Am Montag, 5. Februar 2007 22:26 schrieb Joris van Rantwijk:
> 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.

Do you feel like taking up Alan's suggestion of using test_bit() ?
Regarding efficiency he's certainly right.

	Regards
		Oliver

-------------------------------------------------------------------------
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.