svn commit: r184208 - head/sys/dev/uart

Ed Schouten ed at 80386.nl
Fri Oct 24 04:50:14 UTC 2008


* John Baldwin <jhb at freebsd.org> wrote:
> Perhaps have tty drivers sleep in detach until the tty is completely gone?  
> Either that or free the unit number in the tty layer when the tty is 
> 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.

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20081024/559ea320/attachment.pgp


More information about the svn-src-all mailing list