cvs commit: src/sys/dev/usb ugen.c

Brian Fundakowski Feldman green at
Thu Sep 9 11:03:09 PDT 2004

On Thu, Sep 09, 2004 at 05:49:53PM +0000, Warner Losh wrote:
> imp         2004-09-09 17:49:53 UTC
>   FreeBSD src repository
>   Modified files:
>     sys/dev/usb          ugen.c 
>   Log:
>   For the moment, back out my back out of green's 1.87 commit.  While it
>   produced better results for a test program I had here, it didn't
>   substantially change the number of crashes that I saw.  Both the old
>   code and the new code seemed to produce the same crashes from the usb
>   layer.  Since the new code also solves a close() crash, go with it
>   until the underlying issues wrt devices going away can be addressed.

I'll try making ugen(4) a little smarter about this later today and
make the "endpoint open" references to wait upon before detaching along
with the "in blocking operation" references.  Or just make an open-count.

Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green at                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\

More information about the cvs-src mailing list