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 28AA6C433EF for ; Sun, 19 Jun 2022 00:31:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232800AbiFSAbA (ORCPT ); Sat, 18 Jun 2022 20:31:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230223AbiFSAa6 (ORCPT ); Sat, 18 Jun 2022 20:30:58 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 270C2B1D9 for ; Sat, 18 Jun 2022 17:30:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:To:Subject:MIME-Version:Date:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description; bh=lLxnm06YU/KD4+hvWKrGE9860wPKXqoTSVyTdvAai+g=; b=KR6KabbISHDmsGDqgJ2jeL/RIZ oQhAD+S77lfaHzFIWOs9hFugqWcvT/TGlb6l42Xb+hpLfSp+Y0qmegUSLaUbYQTRxJb2jKv11fQyK cCkNu8rO8C2JkIz/69A748GJrbqFSw7DK18ByC2k2bhGfuHVoX/15MYZDvjlb9/C1lAMOEUec2IC5 9CrlwKVeDYHnHV4T8MhZgAVy930gzie483Qa6sofH6dX5f6SPtwCg3TafhGH0x1eGM9L3PDRLf9K4 CAPJK6T9JU+Jw7wi2ne2vHgzoGH7Lz/P1S4w35rB+GMRxNartTw74zY9hA3tiF+gj6VQKzWCz16WW pm5cVgmw==; Received: from [2601:1c0:6280:3f0::aa0b] by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2iq0-0094OU-J5; Sun, 19 Jun 2022 00:30:49 +0000 Message-ID: Date: Sat, 18 Jun 2022 17:30:44 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] printk: allow direct console printing to be enabled always Content-Language: en-US To: "Jason A. Donenfeld" , John Ogness , Petr Mladek , Marco Elver , linux-kernel@vger.kernel.org References: <20220617133847.27517-1-Jason@zx2c4.com> From: Randy Dunlap In-Reply-To: <20220617133847.27517-1-Jason@zx2c4.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/17/22 06:38, Jason A. Donenfeld wrote: > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index 8090130b544b..a960c47a2002 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -4389,6 +4389,14 @@ > printk.time= Show timing data prefixed to each printk message line > Format: (1/Y/y=enable, 0/N/n=disable) > > + printk.always_direct= > + Rather than using kthreads for printk output, always > + write to the console immediately. This has performance > + implications, but will result in a more faithful > + ordering and interleaving with other processes writing > + to the console. > + Format: (1/Y/y=enable, 0/N/n=disable) or: + Format: (1/Y/y/T/t/on=enable, 0/N/n/F/f/off=disable) -- ~Randy