Date: Tue, 23 Dec 2008 18:59:11 +0100 From: Ed Schouten <ed@80386.nl> To: freebsd-usb@FreeBSD.org Subject: Giant on serial devices in USB2? Message-ID: <20081223175911.GZ1176@hoeg.nl>
index | next in thread | raw e-mail
[-- Attachment #1 --]
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@80386.nl>
WWW: http://80386.nl/
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)
iEYEARECAAYFAklRJu8ACgkQ52SDGA2eCwWBQgCbBccazYyrrHNM1eRj2CJF8ZjF
6dMAn2XZK7zgDYR+9vRw/XU3ycMdbxmZ
=JLWf
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081223175911.GZ1176>
