From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756974AbcLORYa (ORCPT ); Thu, 15 Dec 2016 12:24:30 -0500 Received: from merlin.infradead.org ([205.233.59.134]:43818 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753596AbcLORY2 (ORCPT ); Thu, 15 Dec 2016 12:24:28 -0500 Date: Thu, 15 Dec 2016 18:23:36 +0100 From: Peter Zijlstra To: Steven Rostedt Cc: Petr Mladek , Andrew Morton , Linus Torvalds , Sergey Senozhatsky , linux-kernel@vger.kernel.org Subject: Re: [PATCH] MAINTAINERS: Add printk maintainers Message-ID: <20161215172336.GA3124@twins.programming.kicks-ass.net> References: <1481798878-31898-1-git-send-email-pmladek@suse.com> <20161215084815.4d479755@gandalf.local.home> <20161215143443.GA1053@pathway.suse.cz> <20161215171200.GY3124@twins.programming.kicks-ass.net> <20161215122027.0f18bfb1@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161215122027.0f18bfb1@gandalf.local.home> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 15, 2016 at 12:20:27PM -0500, Steven Rostedt wrote: > On Thu, 15 Dec 2016 18:12:00 +0100 > Peter Zijlstra wrote: > > > On Thu, Dec 15, 2016 at 03:34:43PM +0100, Petr Mladek wrote: > > > We have to find the right balance. For example, we do not show > > > messages immediately in NMI context because there is a risk > > > of a deadlock. > > > > I find the occasional deadlock much preferable to guaranteed no output. > > Right, we can't stress the importance of getting output out when it > happens. A printk dump is the first course of action when debugging a > crash. And the printk output shows how much progress the computer made. > > If all printks are asynchronous, that will be unreliable information. No, that will be _no_ information, since the 'later' part that does the flush will never happen. > And really, that information can be extremely useful, but only if it is > reliable, otherwise, it becomes useless. Well, if you want reliable get a UART and those 3 patches I did to force early_printk :-)