From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759718Ab2FUSzF (ORCPT ); Thu, 21 Jun 2012 14:55:05 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:48935 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753935Ab2FUSzD (ORCPT ); Thu, 21 Jun 2012 14:55:03 -0400 Message-ID: <1340304902.22218.12.camel@joe2Laptop> Subject: Re: [PATCH] printk: Add printk_flush() to force buffered text to console From: Joe Perches To: Steven Rostedt Cc: Greg Kroah-Hartman , Ingo Molnar , Fengguang Wu , LKML , Linus Torvalds , "kay.sievers" , "Paul E. McKenney" , Ingo Molnar , Andrew Morton Date: Thu, 21 Jun 2012 11:55:02 -0700 In-Reply-To: <1340304566.27036.200.camel@gandalf.stny.rr.com> References: <20120614154153.GD17140@kroah.com> <1339693625.13377.242.camel@gandalf.stny.rr.com> <20120615042233.GA10973@localhost> <20120615043017.GA9587@kroah.com> <20120615120430.GB23681@gmail.com> <20120615231318.GD8205@kroah.com> <1339804415.25903.63.camel@gandalf.stny.rr.com> <20120618230337.GB23627@kroah.com> <1340069326.25903.177.camel@gandalf.stny.rr.com> <20120620122549.GA10561@gmail.com> <20120621171338.GF3270@kroah.com> <1340300509.27036.185.camel@gandalf.stny.rr.com> <1340302623.22065.9.camel@joe2Laptop> <1340303360.27036.194.camel@gandalf.stny.rr.com> <1340303969.22218.9.camel@joe2Laptop> <1340304566.27036.200.camel@gandalf.stny.rr.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2012-06-21 at 14:49 -0400, Steven Rostedt wrote: > Actually, I'm starting to lean back to my original patch, and stick a > pr_flush() in there. Oh good. I think that's better than a new printk. > As it basically just acts like a barrier. "Make > sure the output I printed actually gets out to the console before I > continue". I think that'd be bad and hard to do. I think you mean simply attempt to deliver it rather than guarantee it's actually emitted.