ukbd locking update

2011-12-20 Thread Andriy Gapon
I completing a patch that changes some locking in ukbd to account for SCHEDULER_STOPPED and for other realities of the code. As a preview I would like to share couple of observations that had their effect on the patch. 1. Acquiring Giant in device_attach, _detach in similar newbus method

Re: ukbd locking update

2011-12-20 Thread Attilio Rao
2011/12/20 Andriy Gapon a...@freebsd.org: I completing a patch that changes some locking in ukbd to account for SCHEDULER_STOPPED and for other realities of the code. As a preview I would like to share couple of observations that had their effect on the patch. 1. Acquiring Giant in

Re: ukbd locking update

2011-12-20 Thread Andriy Gapon
on 20/12/2011 16:00 Attilio Rao said the following: 2011/12/20 Andriy Gapon a...@freebsd.org: I completing a patch that changes some locking in ukbd to account for SCHEDULER_STOPPED and for other realities of the code. As a preview I would like to share couple of observations that had their

Re: ukbd locking update

2011-12-20 Thread Andriy Gapon
And the new patch: http://people.freebsd.org/~avg/usb.new.diff -- Andriy Gapon ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org

Re: ukbd locking update

2011-12-20 Thread Attilio Rao
2011/12/20 Andriy Gapon a...@freebsd.org: on 20/12/2011 16:00 Attilio Rao said the following: 2011/12/20 Andriy Gapon a...@freebsd.org: I completing a patch that changes some locking in ukbd to account for SCHEDULER_STOPPED and for other realities of the code. As a preview I would like to

Re: ukbd locking update

2011-12-20 Thread Hans Petter Selasky
On Tuesday 20 December 2011 16:16:36 Andriy Gapon wrote: And the new patch: http://people.freebsd.org/~avg/usb.new.diff Patch looks OK. I will give it a spin later today. Feel free to commit if you've tested the three use-cases I listed in a previous e-mail. --HPS

Re: ukbd locking update

2011-12-20 Thread Hans Petter Selasky
On Tuesday 20 December 2011 14:08:24 Andriy Gapon wrote: I completing a patch that changes some locking in ukbd to account for SCHEDULER_STOPPED and for other realities of the code. As a preview I would like to share couple of observations that had their effect on the patch. 1. Acquiring

Re: ukbd locking update

2011-12-20 Thread Andriy Gapon
on 20/12/2011 18:41 Hans Petter Selasky said the following: On Tuesday 20 December 2011 16:16:36 Andriy Gapon wrote: And the new patch: http://people.freebsd.org/~avg/usb.new.diff Patch looks OK. I will give it a spin later today. Feel free to commit if you've tested the three use-cases I