Re: [PATCH] usb: usbfs: Fix deadlock of khubd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sun, 7 Mar 2010, Jeff Chua wrote:

> On Sun, Mar 7, 2010 at 5:11 AM, Linus Torvalds <
> torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> 
> > How about this? It
> >  - makes the naming less atrocious
> >  - uses 'f_version' as suggested by Dmitry, which is obviously the
> >   RightThing(tm) to do.
> >  - uses an atomic event counter (with a simple but commented subtle thing
> >   to make sure that 'f_version = 0' always triggers as "new events might
> >   be pending")
> >  - gets rid of the insane locking on poll
> >
> > Can somebody test it? I in no way tested it, except it compiles for me.
> 
> Applied the patch. It works for me. "cat /proc/bus/usb/devices" works
> (vmware works as well)!!!

Goodie. Alan, Greg, others - should I just commit it, or wait for you send 
it back to me? Acks or nak's?

			Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux