Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753124Ab0HYRRW (ORCPT ); Wed, 25 Aug 2010 13:17:22 -0400 Received: from cantor2.suse.de ([195.135.220.15]:45288 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750836Ab0HYRRS (ORCPT ); Wed, 25 Aug 2010 13:17:18 -0400 Date: Wed, 25 Aug 2010 10:10:45 -0700 From: Greg KH To: Alan Cox Cc: Kay Sievers , Samo Pogacnik , linux kernel , linux-embedded Subject: Re: [PATCH] detour TTY driver - now ttyprintk Message-ID: <20100825171045.GA19401@suse.de> References: <20100824222035.GA10625@suse.de> <1282690232.8020.116.camel@itpsd6lap> <20100824225703.GA5913@suse.de> <20100825002221.68fc09a4@lxorguk.ukuu.org.uk> <20100824231241.GA6971@suse.de> <20100825005152.40ba2f12@lxorguk.ukuu.org.uk> <20100825004134.GA28884@suse.de> <20100825110813.5f7d7ac8@lxorguk.ukuu.org.uk> <20100825155716.GB16284@suse.de> <20100825181108.1dcd0d80@lxorguk.ukuu.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100825181108.1dcd0d80@lxorguk.ukuu.org.uk> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1396 Lines: 39 On Wed, Aug 25, 2010 at 06:11:08PM +0100, Alan Cox wrote: > > Would that work for this driver in use as a console? > > Yes > > > exec < /dev/console > /dev/kmsg 2>&1 > > > > That's one extra process, not that much, right? > > About 150K or so way too much and its not robust. Fair enough. So, with this driver, would it make sense for the distros to switch over to using it instead of the above line in their initrd? > > > You also want errors to get out (or stored) even if there are crashes - > > > which the Fedora one is not very good at. To be fair in the Fedora world > > > its not a big deal to say 'Oh dear, boot with ....'. Embedded isn't the > > > same, and you want to capture the odd rare error reliably. > > > > again, the above exec line should work for what the embedded people > > want, right? > > We didn't *need* devtmpfs either - that was a little bit of user space. > It's a similar thing - you can do the job better in 1.5K of kernel code > than 150K or more of user space - which is not trivial on a box with no > swap. Ok, I didn't realize it really was that big. Samo, care to resend the patch? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/