Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755354AbdDDT0F (ORCPT ); Tue, 4 Apr 2017 15:26:05 -0400 Received: from mail-qt0-f181.google.com ([209.85.216.181]:36818 "EHLO mail-qt0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754364AbdDDT0D (ORCPT ); Tue, 4 Apr 2017 15:26:03 -0400 Date: Tue, 4 Apr 2017 15:26:00 -0400 (EDT) From: Nicolas Pitre To: Alan Cox cc: Andy Shevchenko , Rob Herring , Peter Hurley , Ard Biesheuvel , Greg Kroah-Hartman , Jiri Slaby , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" , linux-arm Mailing List Subject: Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems In-Reply-To: <1491313228.3704.42.camel@linux.intel.com> Message-ID: References: <20170401222119.25106-1-nicolas.pitre@linaro.org> <1491224186.3704.11.camel@linux.intel.com> <1491242719.3704.33.camel@linux.intel.com> <1491313228.3704.42.camel@linux.intel.com> User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323328-944314857-1491333890=:1847" Content-ID: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1143 Lines: 31 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-944314857-1491333890=:1847 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT Content-ID: 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 --8323328-944314857-1491333890=:1847--