Re: patch to shift memory allocations to usb_alloc_urb()

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Fri, 6 Jul 2007, David Brownell wrote:

> > And BTW, it isn't necessarily true that IRQs are disabled during a real
> > interrupt.  Those sharing the same IRQ line are, yes, but others don't 
> > need to be.  Our HCDs shouldn't need to set IRQF_DISABLED.
> 
> Change that only with extreme care.  :)

In fact, what we need to audit is not the IRQF flag setting but rather 
the spin_lock call in the irq handler.  It ought to be 
spin_lock_irqsave.

Alan Stern


-------------------------------------------------------------------------
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.