Re: [PATCH 00/68] TTY buffer in tty_port -- prep no. 1
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2012-03-18 08:56:28
Also in:
lkml
Hi Jiri, On Mon, Mar 5, 2012 at 14:51, Jiri Slaby [off-list ref] wrote:
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. The first few patches are simple fixes/cleanups which emerged during the code investigation here and there. Further serialP header removal happens there. Finally, some drivers are forced to use tty_port, which will become a necessity in the future. Simserial (ia64) and standard x86 stuff were runtime-tested. The rest is only checked to be compilation-errors free.
I had a look at all 19 patches touching amiserial, and they look fine. So
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Thanks for the cleanup!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds