Giant on serial devices in USB2?

Ed Schouten ed at 80386.nl
Tue Dec 23 09:59:13 PST 2008


Hello HPS, others,

I was just running a grep on the USB2 code and saw the following:

$ grep -r Giant sys/dev/usb2/serial | wc -l
      70

WHat's the exact reason USB2 still uses Giant on TTY related drivers?
Couldn't it just use the per-TTY mutex? If not, maybe it should create a
custom system-wide mutex, instead of using Giant?

Yours,
-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20081223/e791df28/attachment.pgp


More information about the freebsd-usb mailing list