> An ISR would be part of the HCD ... so my earlier comments > apply. That can't work. And the work doesn't actually need > to be done in_irq(), fwiw. > > > Thus, doing it with a flag (and both the urb->dev and the > > urb->status methods are effectively flags) is difficult > > "not possible" ... as with the "urb->users" flag you sketch. > The race begins when such a flag's value changes (in the > hcd parts of usbcore) and ends when the completion routine > finishes its work on the URB.
But the decrementing of the counter would be the last thing the isr does. I am probably dense here. Could you explain the race in greater detail ? Regards Oliver _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel