# Re: \[PATCH 00/68\] TTY buffer in tty\_port -- prep no. 1

- From: Greg KH \<gregkh@linuxfoundation.org\>
- Date: 2012-03-08 20:51:53 
- List: linux-serial
- Page: https://ratatoskr.run/linux-serial/2012/03/3832684
- Thread: https://ratatoskr.run/linux-serial/2012/03/3830764/t/2.md

```text
On Mon, Mar 05, 2012 at 02:51:47PM +0100, Jiri Slaby wrote:
> Hi,
> 								      
> this is the first series of patches which allow tty buffers to be
> moved from tty_struct (present from open to close/hangup) to tty_port
> (present as long as the device). This will allow us to get rid of the
> tty refcounting in the interrupt service routines and other hot paths
> after we are done. This is because we won't need to handle races among
> ISRs, timers, hangups and others, because tty_port lives as long as an
> interrupt/timer tick may occur. Unlike tty_struct.
> 
> In this series, only first few drivers are converted to use
> tty_port. The rest is to come later.

Very nice work, all queued up now.

greg k-h
```
