Re: Pty is losing bytes

Alan Cox
2005-02-15T22:15:00Z

On Maw, 2005-02-15 at 19:44, Linus Torvalds wrote:
> However, then when I start looking at n_tty_receive_room() and
> n_tty_receive_buf(), my stomach gets a bit queasy. I have this horrid
> feeling that I had something to do with the mess, but I'm going to lash

You did.
Then Ted tided it up
Then Bill added hacks to "fix" up the locking

The real fix is shooting the flip buffers, at that point a lot of the
locking goes away (because the tty owns everything relevant). I just
don't have time to do major kernel hacking and finish the MBA thesis at
the same time.

Sorry yes I know how n_tty works, and no I'm not going to fix it