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.
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.
Final remark: simserial stuff depends on 4 patches sent to Tony Luck
last week. They are in hist tree and -next already.
Where are those patches at specifically? Can you send them to me so I
could include them in my tree? Otherwise I can only apply the first 27
of these patches (which I have now done.)
thanks,
greg k-h