Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2004 14:03:07 -0400
From:      Brian Fundakowski Feldman <green@FreeBSD.org>
To:        Warner Losh <imp@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/usb ugen.c
Message-ID:  <20040909180306.GM928@green.homeunix.org>
In-Reply-To: <200409091749.i89Hnrnj020760@repoman.freebsd.org>
References:  <200409091749.i89Hnrnj020760@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040909180306.GM928>