Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems

From: Nicolas Pitre
Date: Tue Apr 04 2017 - 15:26:07 EST


On Tue, 4 Apr 2017, Alan Cox wrote:

> > we're down to 5.6K. At which point there's only a raw device
> > interface 
> > to serial hardware.
>
> Which if you did a simple plain chardev without trying to fake the
> rather out of date uart layer would come down way further still.

Oh absolutely. I don't dispute that. Given infinite time as you said.

But I gained a 5x reduction already. I would prefer moving to some other
part of the kernel where another 5x reduction could be achieved now
rather than postponing that after I'm done rewriting the interface for
all UART drivers. Maybe someone else will feel inspired and take on
this UART driver modernizing task (that could be a nice mentorred
project for example).

PS: FUZIX is a real piece of art ;-)


Nicolas