Hi, David:

   May I ask a fool question about the interrupt
handler function "ehci_irq()" in ehci-hcd.c
   Why you use the "spin_lock (&ehci->lock)" to
protect the EHCI data structure rather than
spin_lock_irqsave()? If the EHCI interrupt toggle
again when EHCI interrupt handler executing, then the
latter interrupt will busy loop in "spin_lock
(&ehci->lock)" and cause "double-acquire". Is it
correct or I misunderstanding it.

                                      BR, Chi_yuan Hung

___________________________________________________  最新版 Yahoo!奇摩即時通訊 
7.0,免費網路電話任你打!  http://messenger.yahoo.com.tw/


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

Reply via email to