> riddled with races of this kind.  The simplest solution is to
> systematically take ps->dev->serialize when entering the usbfs routines,
> which is what my patches do.  This should be regarded as a first step: it

What is the alternative?

> gives correctness, but at the cost of a probable performance hit.  In later
> steps we can (1) turn dev->serialize into a rwsem

Rwsems are _slower_ in the normal case of no contention.

> (2) push the acquisition of dev->serialize down to the lower levels as they
> are fixed up.

Why?

        Regards
                Oliver



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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