Date: Fri, 24 Oct 2008 06:50:12 +0200 From: Ed Schouten <ed@80386.nl> To: John Baldwin <jhb@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r184208 - head/sys/dev/uart Message-ID: <20081024045012.GD6808@hoeg.nl> In-Reply-To: <200810231555.06892.jhb@freebsd.org> References: <200810231911.m9NJBisd064280@svn.freebsd.org> <200810231555.06892.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--g7w8+K/95kPelPD2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * John Baldwin <jhb@freebsd.org> wrote: > Perhaps have tty drivers sleep in detach until the tty is completely gone= ? =20 > Either that or free the unit number in the tty layer when the tty is=20 > abandoned. Well, I could add a routine to the TTY layer that does that. The reason why the TTY layer is a little `lazy' with deallocating TTY unit numbers, is because I want to be absolutely sure processes agree they do not use the TTY (device name) anymore. I'll see if I can add a sleepable tty_gone() routine one of these days. --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --g7w8+K/95kPelPD2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkkBVAQACgkQ52SDGA2eCwXviQCfYJ0Z+RZQFNi6U7DC0n9f1Z6P BUkAnRjBa5K93ZwWWYcOLN8D1KUzIyYU =WABh -----END PGP SIGNATURE----- --g7w8+K/95kPelPD2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081024045012.GD6808>