Re: New USB stack on FreeBSD w/Linux emulation layer coming

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization Novell
Message-ID <[email protected]>
Am Donnerstag, 17. Mai 2007 20:39 schrieb Pete Zaitcev:
> I think we should remove those local_irq_save's, and leave just the
> guarantee that it won't be re-entered (currently such a guarantee
> is inherited from the Linux's interrupt handling, and we'll only
> need to make it explicit if any HCDs start using softirq when
> calling the giveback routine). I'm poking your memory in case
> there's actually a good reason for it which I forgot.

If you do this

1. all drivers need to be audited for simple 'spin_lock()'
2. Doing so will make the common code path needlessly slower
3. If any HCD calls the callback from interrupt, you'll need to take
a lock and disable interrupts anyway

	Regards
		Oliver

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[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.