From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1706C433EF for ; Wed, 20 Apr 2022 15:11:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380177AbiDTPOl (ORCPT ); Wed, 20 Apr 2022 11:14:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380144AbiDTPNE (ORCPT ); Wed, 20 Apr 2022 11:13:04 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED7AD3EA8F for ; Wed, 20 Apr 2022 08:10:17 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id AE22C2129B; Wed, 20 Apr 2022 15:10:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1650467416; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sQeaxnSpOix98+BTCcyhGUVcBJC3FXSTwJn87R/5qbo=; b=j1IrCsXm5Wo4ciTR3vRvZ73ECvh0ih5277DUiEPHA5CNIx2GnzkFe6vIUXVUj8Y1+afnMO jC01Ysyom2vinF68OZsy1p00GJU9wafbTOk7Y+na8SpUK/VxwMmCmRY77O4qjw+53ZRVRM Vg52G0MOM5dvVIqjPuT3SnyK8+uH7x8= Received: from suse.cz (unknown [10.100.224.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 89C8E2C14B; Wed, 20 Apr 2022 15:10:16 +0000 (UTC) Date: Wed, 20 Apr 2022 17:10:16 +0200 From: Petr Mladek To: John Ogness Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: Re: [PATCH printk v3 11/15] printk: add pr_flush() Message-ID: References: <20220419234637.357112-1-john.ogness@linutronix.de> <20220419234637.357112-12-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220419234637.357112-12-john.ogness@linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 2022-04-20 01:52:33, John Ogness wrote: > Provide a might-sleep function to allow waiting for console printers > to catch up to the latest logged message. > > Use pr_flush() whenever it is desirable to get buffered messages > printed before continuing: suspend_console(), resume_console(), > console_stop(), console_start(), console_unblank(). > > Signed-off-by: John Ogness Reviewed-by: Petr Mladek Best Regards, Petr