Re: [PATCH] Correctly flush 8250 buffers, notify ldisc of line status changes.

Russell King
2004-11-09T14:47:31Z

On Tue, Nov 09, 2004 at 01:17:22PM +0000, Alan Cox wrote:
> So its broken, totally and utterly. Its the kind of undefined,
> unserialized crap that I'm trying to get _OUT_ of the serial layer.

I think you mean the tty layer here - the tty layer is where most of
the serialisation problems remain, and the locking in the serial
layer is mostly there to work around the tty layers deficiencies.

I would have liked to have rewritten the tty layer along the lines
that Ted was suggesting, but that would've been far too much work
for me to do alone.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core