Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1900736iog; Sun, 19 Jun 2022 01:43:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tEljtFIegDcmFSorZr/6NQQFoXua29WfWhKp8NN11w6NA3yIbt1qA+RDPXu2pzlM5YALX8 X-Received: by 2002:a63:b904:0:b0:408:be55:9ac1 with SMTP id z4-20020a63b904000000b00408be559ac1mr16978335pge.580.1655628223177; Sun, 19 Jun 2022 01:43:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655628223; cv=none; d=google.com; s=arc-20160816; b=x9pWd8iP/vhYlxgI9PROX3I8LBhMOUqaOIrA6yAoidMh11YmFS1v9yvQhDUp+Mdnfb Pv/htKsl27KuIP65he6NqsK3N3rOKHwe32R9nbCJ8mF8MHetRfB6Dm8RhpHTJ0xdsE0Y IlwjzCL8fX3MGjlwr90kzkslUXDAQ3wM7oFA6xQWmIa+D8mny+rMkSBjGcOjiZQqWre6 kLIkn6BMNjmlBPkW1KOCo+18qn2NjhQj/R6XGVt72PPn8vU2HhUZNK5PXJzKY4+vV0rI cBRoCBROnql9oVL0DE70SriZgRD1PRvASj796uudXpKvmZfojA8csdn2VZ6G/02AZSiv ZZhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:references :in-reply-to:mime-version:dkim-signature; bh=teucPwLMI11e8vQBIMGAL5FV6pDQTFgjgjHA80hD2jo=; b=JQQv11XZiTWG2OS/psNSYbjoDlEuZAhF6yyYwd2Ta3BTmYIOnQQYhSfEQZa8v79X99 OaoPyvTljDQRusw35LD9NEECxNzl+1W2mevka64gjzzmStmLhqs9ezfWdxnDdoElbGUS OkB2/Rcm7X6OV6DsTzPxrIRmTPhGIm9ekndTm0f9bm8tmSx6C9wHFVeSDfipPqw1Nc8a JH1J1aFsCN/fDLb0q9M0uV9Iwl5ppb0h6gZWalsCE3dwgm5JvoGLYCohrRklDqQXx9kN iY9sq19N5LqZ0hSx6Q7i+Wn84MU3jlOZfWDVLRkfvFP9ZkN2M66o+hDdEQuDXdsegOH7 m0qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=ZNCLmUaf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z3-20020a17090a66c300b001e86bb3df4esi14249869pjl.128.2022.06.19.01.43.30; Sun, 19 Jun 2022 01:43:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=ZNCLmUaf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229958AbiFSIhs (ORCPT + 99 others); Sun, 19 Jun 2022 04:37:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229777AbiFSIhr (ORCPT ); Sun, 19 Jun 2022 04:37:47 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 685C1D71 for ; Sun, 19 Jun 2022 01:37:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C1F2CB80BA5 for ; Sun, 19 Jun 2022 08:37:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D6A0C341C5 for ; Sun, 19 Jun 2022 08:37:42 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="ZNCLmUaf" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1655627859; h=from:from:reply-to:subject:subject: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=teucPwLMI11e8vQBIMGAL5FV6pDQTFgjgjHA80hD2jo=; b=ZNCLmUaf0Sz18yVQMEt1MpVUqD4jZiq+ShnWcdhI0oHWp1JrqqG7ZDLrlf/5NtuI3VOKYR tiX1EzfLj/vK/F1+NTQCZAnlYCBwGstFM1vgQO9v8/ONInisYQdJ56brjIwLhtMEOu01jF Eygn3N5PB6Mq/oEUmDtuMeJao6rPlG4= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 3546516b (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sun, 19 Jun 2022 08:37:39 +0000 (UTC) Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-3178acf2a92so41051177b3.6 for ; Sun, 19 Jun 2022 01:37:39 -0700 (PDT) X-Gm-Message-State: AJIora9ioOkXHa0pQw8s0O0gllcNgLaP5g2ZDXNZSY4Vmn29HLMxcxCl q8gTdA8taSQVe0wRAik6D1E8Rqss5H1t3Rvtzmw= X-Received: by 2002:a0d:e0c6:0:b0:317:9602:55d1 with SMTP id j189-20020a0de0c6000000b00317960255d1mr6618030ywe.2.1655627857621; Sun, 19 Jun 2022 01:37:37 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:7110:6407:b0:181:6914:78f6 with HTTP; Sun, 19 Jun 2022 01:37:36 -0700 (PDT) In-Reply-To: References: <20220617133847.27517-1-Jason@zx2c4.com> From: "Jason A. Donenfeld" Date: Sun, 19 Jun 2022 10:37:36 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] printk: allow direct console printing to be enabled always To: Randy Dunlap Cc: John Ogness , Petr Mladek , Marco Elver , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/19/22, Randy Dunlap wrote: > > > 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) > This is the same as the lines above and below. So I think you'd be better off sending an independent patch that fixes all of these in one fell swoop, rather than introducing an inconsistency in this one. Jason