Skip site navigation (1)Skip section navigation (2)
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>

next in thread | raw e-mail | index | archive | help

--vD4R8EutdGn5UgVK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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,
--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--vD4R8EutdGn5UgVK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAklRJu8ACgkQ52SDGA2eCwWBQgCbBccazYyrrHNM1eRj2CJF8ZjF
6dMAn2XZK7zgDYR+9vRw/XU3ycMdbxmZ
=JLWf
-----END PGP SIGNATURE-----

--vD4R8EutdGn5UgVK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081223175911.GZ1176>