Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp793150rwr; Thu, 20 Apr 2023 06:35:20 -0700 (PDT) X-Google-Smtp-Source: AKy350aUoEfFgUh2X1G/ODpzyFNeKgt2vY8Bt7sxzBZCBkB37TchBl+DFWpRWBM+GKsTjHW5cE9n X-Received: by 2002:a05:6a00:1903:b0:63b:72b4:a6bf with SMTP id y3-20020a056a00190300b0063b72b4a6bfmr1543112pfi.33.1681997720280; Thu, 20 Apr 2023 06:35:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681997720; cv=none; d=google.com; s=arc-20160816; b=gmIC/acFT1TWg4VNaBsIR6sRHMB7r6CDCy45UhMkFKO6TSQYd24soORB+TzIFw8UY1 AqVlbeCS3BGXGOfrBm2bb91xVAXD6nG9K/6OH0bqHq5imcqqINzzFLV2+Gks4JJm4EGF c/UXGZY4srYDQh+9Gajdcf+xFPD3yskJubMIPT+s0QwMXoCmwsxqaPFED7QF8OQ92oUM J6VYndyLuTDmJEx+8UuZpUu8f2BAYoAV2D+R552Lh+MTNKQiYTMwyp/eDLDjHSTBqOhS OE++MbwXit46sOntWLmonPNo0cwdI7dOYMA3Y6Kp9R1qkc6JP0bmjsmAgfe77NH3vJzF 2aRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=uyb1MZ7NuV5vu+8jhZvnRspPxQmVwaXDLnhGv/qVF04=; b=a5/Rt//j8jmU0zOYO/bww8YUSc2T7aZ9eRCwQup4adruWZ2PJZ0084k6xRb/9JmyIj jnj861pa2LBlhHRVX5xha43Zw0A5089fXUGnvyCkGskiCgFXpUsGKT6GL6vAoZxFwd4C FvW3C8ZubBhtRZ6k2VDsnp7zSKNgEz0RMJwqLIhTKYiUsseMYl3IW21OK1uD9BU7qyeK CXD9ihcJNUPkmiHl/eASIBa4AQptsXWyxGCh5VeokVzwOQ692AVkhQwUzdom0dihCV2g 6mFkCiYy/Y5enBlchzJF63m+o1dFNdF8rW69CmwQ+gjCvcTfNRKjEsSAqcWL5DZabAmq c/Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=HKVhhOIR; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 136-20020a62198e000000b0063d666566bbsi1637492pfz.299.2023.04.20.06.34.51; Thu, 20 Apr 2023 06:35:20 -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=@linutronix.de header.s=2020 header.b=HKVhhOIR; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231320AbjDTN33 (ORCPT + 99 others); Thu, 20 Apr 2023 09:29:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229821AbjDTN3Z (ORCPT ); Thu, 20 Apr 2023 09:29:25 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E5834680 for ; Thu, 20 Apr 2023 06:29:24 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1681997361; 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=uyb1MZ7NuV5vu+8jhZvnRspPxQmVwaXDLnhGv/qVF04=; b=HKVhhOIR1g0IW4CyBfC5Twn3/c4N2HxrfQRgHRGs0FqB9OT1g/2YQEFlRgyub85ZDCDVCQ V5DMLIDPsyxYyOT0cm5iv+dpe6tpAiiu39nyz6R8wGTvno/uh75Q4oKV3M151bMh/mL7cl elLLtPe1AJWg8dq1QZc6o/jIDvcB3cpPQ2uaAEfWqScGqClffy0o1BM9jCZ5xTxirCku4F xwrFbVEuefcipb+r0zfQvDstNP95Sg2c9wY2PaLlzytftK+S+ITvsaUtQT1fxph3EpGBcW 1MzN/VzO8AGqrizlggwyjhYdoa4e6kn32QW+h89rjcA8ajWPdK4igikYIfspoQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1681997361; 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=uyb1MZ7NuV5vu+8jhZvnRspPxQmVwaXDLnhGv/qVF04=; b=VEdHKK5Jr71Yq5zTcRjYeq1o0iMLHHUuDuLgCUgf2ZTwMthegftELuhV67RnNnlb1QaOAe hwLOrZBJoBwzhOAw== To: Chris Down , linux-kernel@vger.kernel.org Cc: Petr Mladek , Greg Kroah-Hartman , Sergey Senozhatsky , Steven Rostedt , Geert Uytterhoeven , kernel-team@fb.com Subject: Re: [PATCH v4 1/2] printk: Do not delay messages which aren't solicited by any console In-Reply-To: <43d7f8d6e4b45a1a76fceef2d117bbc3954bc0bf.1681994221.git.chris@chrisdown.name> References: <43d7f8d6e4b45a1a76fceef2d117bbc3954bc0bf.1681994221.git.chris@chrisdown.name> Date: Thu, 20 Apr 2023 15:33:22 +0206 Message-ID: <87wn26vg3p.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,INVALID_DATE_TZ_ABSURD, RCVD_IN_DNSWL_MED,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 2023-04-20, Chris Down wrote: > diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c > index fd0c9f913940..06f16a5f1516 100644 > --- a/kernel/printk/printk.c > +++ b/kernel/printk/printk.c > @@ -1289,15 +1289,13 @@ static int __init boot_delay_setup(char *str) > } > early_param("boot_delay", boot_delay_setup); > > -static void boot_delay_msec(int level) > +static void boot_delay_msec(void) > { > unsigned long long k; > unsigned long timeout; > > if ((boot_delay == 0 || system_state >= SYSTEM_RUNNING) ^----- you will need to remove this paren as well > - || suppress_message_printing(level)) { > return; > - } John Ogness