Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp274432rdb; Fri, 6 Oct 2023 03:12:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFAkoRj4ErPyq+XuzHRIXFFuvWvvXkQkaL8RPPxlu82QunoLCo2jIAbiQuPFxP4enbRwytN X-Received: by 2002:a05:6a20:9188:b0:14c:d494:77c5 with SMTP id v8-20020a056a20918800b0014cd49477c5mr9119951pzd.13.1696587143718; Fri, 06 Oct 2023 03:12:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696587143; cv=none; d=google.com; s=arc-20160816; b=uKdH2lIUitDbGHbhKwA+LJkrJwhZ5YDliAfflngIHFlrBCBcNxy4rTEJtlVHNcxnSb yMjnIqHAE+0+ohh9r0q8D+oGGOkwPmeTJ4VMTqMyP6hR6swfaLfLFOrTtXX5WuNSXUV0 YWVY6AA7iZEv8GOXTVpoiWChCLS8/QQu6AYKzpVXQaWING0Qbf6YVzzsHxCGVpjKyReX 6ZH5oLbw81TKGkH17bO30VZcsYIyHQw6GZsSozpDyQUuBM7y7s+xazoFv9/iHTZV5XJp yTQ5ng9iTqCeUOiCaHeQY4GA5azCnjsdmlPRW8Zmy1142w54eO+F751ueY1HDpFrWrSy MZbQ== 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=y6rHmC1zD8wcB4iNbJmwHEYA/P6PHQnX7NfRYyR7AeY=; fh=AGtNV77oEytleFV8LfCZqhQQGCxgwtaurB3zaSNN9YA=; b=cyh0u7rxJV4og31M4G+HKhATAfa8lIHKeSLymFIOPEWid1825HWo5sl76YgPOKDCwj psdPi1DqEve3aMoRAl1ps90b7bTSulNUTN7eQ6J8/f6tZq5Qe0d+wuSGZfPbBEKtd8yn NKdRPqHKH6/y/Xm5yUr8zWovtpVBmiQZAYJQoVjUBXHqcKHbhtDlq8wGtklwc+hjX252 2Ahj52E8Xm8+IHXonyW1zzEBQUAjeGAbfif1gEccp2WvBZp9KM+ZTl0Ct8tz5pYb26f2 TTNRRBhESKFx1kkP3gFhrLP870feKsVsWkW5MFT7lEZQg0PbD+0EkJ998k40ZtNiSeAV RwPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ZaaxxeZ2; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="PcWok/67"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id w9-20020a1709026f0900b001c7342b46e4si3228710plk.23.2023.10.06.03.12.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 03:12:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ZaaxxeZ2; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="PcWok/67"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 91D86809C38B; Fri, 6 Oct 2023 03:12:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231592AbjJFKMQ (ORCPT + 99 others); Fri, 6 Oct 2023 06:12:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231583AbjJFKMO (ORCPT ); Fri, 6 Oct 2023 06:12:14 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17AF9D6 for ; Fri, 6 Oct 2023 03:12:11 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1696587129; 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=y6rHmC1zD8wcB4iNbJmwHEYA/P6PHQnX7NfRYyR7AeY=; b=ZaaxxeZ2Munz8jdVnYuid5auIz6s5fmwD4fHxhuBVWnFFEOCJiqSBJvs+/lvAnCscyrYrf Z6jJvuo+YVhYhVGfmGHbjvGu3Ir16S1mx59RRKQL7n/z+27DUdaNlzed9lFHnCzB8PDCpE 0SNlXlSmT2nnhuvfbotGYvfmSyk9l08yaXAIPnwY9+p3anZ4/NxGwYqpwbU+s2Au3ltTTt 0ZFeHPNHYnPw8PrGgbnOQ50KuzmZ55hsu3/huokqT9pcB1hCa0IyIGhuuDDRffCDiOMFmS oyQ32JHr9xQ0ZC5HgnEYKxWZRx5L9LDbLC3prTklskQLM/NcZKbkv0DZSB1sZw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1696587129; 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=y6rHmC1zD8wcB4iNbJmwHEYA/P6PHQnX7NfRYyR7AeY=; b=PcWok/67hQNKgxh91q8eqB4jtyCLE/yLotjRziK8gd1/2oDO+rBvv4tnpx6oTRuk0GLS7f KDu7dKr2I3ZWFCCA== To: Petr Mladek , Sergey Senozhatsky , Steven Rostedt Cc: Thomas Gleixner , Todd Brandt , linux-kernel@vger.kernel.org, Petr Mladek Subject: Re: [PATCH v2 2/2] printk: Reduce pr_flush() pooling time In-Reply-To: <20231006082151.6969-3-pmladek@suse.com> References: <20231006082151.6969-1-pmladek@suse.com> <20231006082151.6969-3-pmladek@suse.com> Date: Fri, 06 Oct 2023 12:18:06 +0206 Message-ID: <87wmw0vz49.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INVALID_DATE_TZ_ABSURD, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 06 Oct 2023 03:12:21 -0700 (PDT) X-Spam-Level: *** On 2023-10-06, Petr Mladek wrote: > pr_flush() does not guarantee that all messages would really get flushed > to the console. The best it could do is to wait with a given timeout.[*] > > The current interval 100ms for checking the progress might seem too > long in some situations. For example, such delays are not appreciated > during suspend and resume especially when the consoles have been flushed > "long" time before the check. > > One the other hand, the sleeping wait might be useful in other situations. "One" should be "On" Otherwise the patch looks OK to me. Thanks! Reviewed-by: John Ogness