Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2008 19:04:16 +0100
From:      Rink Springer <rink@FreeBSD.org>
To:        Ed Schouten <ed@80386.nl>
Cc:        freebsd-usb@FreeBSD.org
Subject:   Re: Giant on serial devices in USB2?
Message-ID:  <20081223180416.GB77652@rink.nu>
In-Reply-To: <20081223175911.GZ1176@hoeg.nl>
References:  <20081223175911.GZ1176@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 23, 2008 at 06:59:11PM +0100, Ed Schouten wrote:
> 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?

I think this is mostly leftover crud from the pre-TTY-MP safe days. As
long as it uses the proper TTY interfaces, nothing should stop it from
ditching Giant.

-- 
Rink P.W. Springer                                - http://rink.nu
"Chance favours the prepared mind"
- Penn



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