From owner-svn-src-all@FreeBSD.ORG Fri Oct 24 04:50:14 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38E9C106567A; Fri, 24 Oct 2008 04:50:14 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:3fb::211]) by mx1.freebsd.org (Postfix) with ESMTP id EDB3F8FC08; Fri, 24 Oct 2008 04:50:13 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id BA3B51CDB7; Fri, 24 Oct 2008 06:50:12 +0200 (CEST) Date: Fri, 24 Oct 2008 06:50:12 +0200 From: Ed Schouten To: John Baldwin Message-ID: <20081024045012.GD6808@hoeg.nl> References: <200810231911.m9NJBisd064280@svn.freebsd.org> <200810231555.06892.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="g7w8+K/95kPelPD2" Content-Disposition: inline In-Reply-To: <200810231555.06892.jhb@freebsd.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r184208 - head/sys/dev/uart X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 04:50:14 -0000 --g7w8+K/95kPelPD2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * John Baldwin 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 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--