> Furthermore, there are problems the simple approach doesn't solve.  For
> example, consider what happens when rmmod of an HCD is recursively
> removing all the devices belong the root hub and is working its way
> through the children[] array of some intermediate hub, removing the
> entries one by one.  Suppose at the same time khubd detects a new device
> plugged into that hub and so _fills in_ a blank children[] entry.  Not a
> good scenario.
> 
> Any suggestions?

As this situations involve devices being added or removed, don't you need
the subsystem rw-semaphore anyway?

        Regards
                Oliver



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to