On Sat, Oct 20, 2001, Greg KH <[EMAIL PROTECTED]> wrote:
> On Sat, Oct 20, 2001 at 10:00:54AM -0700, Linus Torvalds wrote:
> > 
> > On Fri, 19 Oct 2001, Greg KH wrote:
> > >
> > > Here's a patch against 2.4.13-pre5 that fixes the locking bugs that
> > > David Miller found in the usb core code.
> > 
> > Hmm.. The old code used "read_lock_irq()" and friends for the spinlock,
> > which implies that interrupts can get the lock too - in which case turning
> > it into a semaphore cannot work.
> > 
> > Or was the ol dcode just being silly about interrupt disables?
> 
> I think the old code was being silly about interrupt disables.  I don't
> see where the lock could be taken from an interrupt.

Agreed. I looked over the code too and it can't be called from
interrupts.

JE


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to