stack synchronization

Julian Elischer julian at elischer.org
Sun Jan 9 16:14:08 PST 2005


M. Warner Losh wrote:
> In message: <6.1.2.0.2.20050109174427.0802c640 at pop3>
>             Boris Dinkevich <dinkevich at gmail.com> writes:
> : Hello everyone,
> : 
> : When going over the usb-host stack, it appears that synchronization is done 
> : via splusb/x.
> : But in the 5.3 release, these functions are implemented at stubs.
> : 
> : How is the sync done then ?
> : 
> : Also, with soft_interrupts, it appears there is no need for spls, am I 
> : correct ?
> 
> Giant locking.
> 
> I have patches to move the interrupt outside of giant, but the rest of
> the stack is still under giant locking.

it may be worth just adding a single "usb system" lock..

> 
> Warner
> _______________________________________________
> freebsd-usb at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb
> To unsubscribe, send any mail to "freebsd-usb-unsubscribe at freebsd.org"



More information about the freebsd-usb mailing list