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

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Am Dienstag, 6. Februar 2007 14:34 schrieb Oleg Verych:
> On Tue, Feb 06, 2007 at 01:18:13PM +0100, Oliver Neukum wrote:
> > Am Dienstag, 6. Februar 2007 12:31 schrieb Joris van Rantwijk:
> > > A spinlock should certainly be sufficient. I think spinlocks have a 
> > > memory barrier built-in, otherwise they would be pretty useless.
> > 
> > They do, as do all locks.
> 
> Hm. I thought problem is serializing, rather than access to lock
> variable. And i doubt memory barrier is a *must* for spin locks.

Locks are used to guarantee that nobody sees an inconsistent state.
Therefore memory ordering must be ensured.

	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.