Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758718Ab2FZRBA (ORCPT ); Tue, 26 Jun 2012 13:01:00 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:58560 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758348Ab2FZRA7 (ORCPT ); Tue, 26 Jun 2012 13:00:59 -0400 MIME-Version: 1.0 In-Reply-To: <20120626165855.GA1851@kroah.com> References: <1340651142.7037.2.camel@gandalf.stny.rr.com> <20120625150722.8cd4f45d.akpm@linux-foundation.org> <20120625235531.GB3652@kroah.com> <20120626002307.GA4389@kroah.com> <1340726856.977.6.camel@mop> <20120626165855.GA1851@kroah.com> From: Kay Sievers Date: Tue, 26 Jun 2012 19:00:38 +0200 Message-ID: Subject: Re: [PATCH v3] printk: Have printk() never buffer its data To: Greg Kroah-Hartman Cc: Linus Torvalds , Andrew Morton , Steven Rostedt , LKML , Ingo Molnar , Wu Fengguang , Joe Perches , "Paul E. McKenney" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1266 Lines: 33 On Tue, Jun 26, 2012 at 6:58 PM, Greg Kroah-Hartman wrote: > On Tue, Jun 26, 2012 at 06:07:36PM +0200, Kay Sievers wrote: >> On Mon, 2012-06-25 at 18:40 -0700, Linus Torvalds wrote: >> > On Mon, Jun 25, 2012 at 5:56 PM, Kay Sievers wrote: >> > > >> > > Buffering has nice effects though: >> > > It makes continuation lines appear as one record in the buffer, not as >> > > n individual prints with n headers. >> > >> > As I already mentioned, buffering for *logging* is different from >> > buffering for *printing*. >> > >> > I think it might be a great idea to buffer for logging in order to >> > generate one individual buffer record there. >> > >> > But it needs to be printed as it is generated. >> >> That's a good idea. >> >> Something like this could work - only minimally tested at this moment. > > Hm, this doesn't boot for me, just hangs at startup :( You have that patch against your tree? Let me try that, maybe it conflicts with one of the patches there ... Kay -- 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/