On Tue, Oct 01, 2002, Pete Zaitcev <[EMAIL PROTECTED]> wrote:
> > From: David Brownell <[EMAIL PROTECTED]>
> > Date: Tue, 01 Oct 2002 17:20:02 -0700
> 
> > Yes, it looks like hub.c down()s a semaphore while holding
> > its own spinlock... it doesn't always cause this message.
> > The comment says it never blocks, but... shouldn't this change?
> > 
> > - Dave
> 
> Crap, it's my code. I am pretty sure it's actualy correct,
> so an easy thing to do would be to make it down_trylock()
> and BUG if it fails.
> 
> The semaphore locks against threads running on context of rmmod
> and insmod. When everything is refcounted, the it can be removed.
> I am not sure if we are past this moment though.

We aren't right now for the hub structures. Perhaps this is a good time
to make this change?

I don't think it'll be too difficult to do.

/me adds to his TODO list

JE



-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to