Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1153064rwb; Fri, 23 Sep 2022 08:50:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5fZWIA8ULoLFBrxgbweVoXGG7OjZGwBjZJhrleFP4hTdpN4kRgO0S1a6HYdRnnxeuTil9O X-Received: by 2002:a62:2985:0:b0:544:77d4:f43b with SMTP id p127-20020a622985000000b0054477d4f43bmr9796624pfp.9.1663948237962; Fri, 23 Sep 2022 08:50:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663948237; cv=none; d=google.com; s=arc-20160816; b=S7pVBgUlSk7XHTlhbujmWG6erV1Q1mqIjSBqiX+I+nXKpyZ0g6KNl4UX5emJT7QLye VLEQHnP+H5fBxLEP7rrHTA1Xg8m720etwCzcgCOieLWvwyVMJ1fAvyXTsmztO9jR2djE wNP8/9yM1cpT2D+xqdG6ToJtPQIi8YXUla4q6Gu7POcAAccIR5Kvspap/YKZoMv+0q2Y hjfal1K8dEYslDR4A8omvMH/DyhnDKXaVUeNH1rOOSoSAXwSUkp5uDuHWDbpZRf7+rLC Ea1+cMBZC8I8LfSGMJcBg7lFqZddD4g3/iJdf07TDj4PoaVi1GPglfmEDDDgB30E5By+ FR4w== 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:in-reply-to :references:mime-version:dkim-signature; bh=pfqzhxoDqZ2/NYD5A7pwGfa+JPITfCvTXCsSvsUAv5s=; b=RtBJHdldfJaeC6GL/G/39xBLmnpQ4ePwDYCnNGbbLmlhYODTsbCvrU925dUG+PvkH3 hegETlrjB1cwZjDGc6j2uZycoRnoatTnR0DfLXWiaUIE3NYs45oz0AiAV5Qq9QzokM9S m61stHwe8KVmaNWucry8Z0mtmN9j7d0ykND5cotA7P0rxCItCsbzVfFgbRdOC79XHcpi K+EZ73+0mI9lwU6nsYqiKJ7eCyvLke3nJYKWm1hihA22v8TrXS623Rvl0nyAb0LOHrnD ntESsMZjqnT34xG6eD7Fv5XQ1TiBYfVyez0WUNrBkHZoBbtIRfkU0TXG+NGP/NeWdE8b Zn2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=QxnkDTuq; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k11-20020a635a4b000000b0043882f3e74bsi10539828pgm.441.2022.09.23.08.50.25; Fri, 23 Sep 2022 08:50:37 -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=@linuxfoundation.org header.s=google header.b=QxnkDTuq; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232342AbiIWPQu (ORCPT + 99 others); Fri, 23 Sep 2022 11:16:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232543AbiIWPQf (ORCPT ); Fri, 23 Sep 2022 11:16:35 -0400 Received: from mail-oa1-x2b.google.com (mail-oa1-x2b.google.com [IPv6:2001:4860:4864:20::2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4691C139F73 for ; Fri, 23 Sep 2022 08:16:29 -0700 (PDT) Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-1278a61bd57so691948fac.7 for ; Fri, 23 Sep 2022 08:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=pfqzhxoDqZ2/NYD5A7pwGfa+JPITfCvTXCsSvsUAv5s=; b=QxnkDTuqoJwr5/HCeQYNaAwi56BjaaM2etnE6calfD/OGQZlqUW7HnfWz6U3vDLKvB we2lFUG44Eh+zp1w1zGOwpcDy5mOyHEMQrG4gy56nJD25yHBQ9MEju8eE+rDMbN0XL+b MBwjMhwFuzWc/KFIU//WvB7vdj8NgUN2SZ+6E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=pfqzhxoDqZ2/NYD5A7pwGfa+JPITfCvTXCsSvsUAv5s=; b=Qkm4K7SAvQJe1PIOhJMdM9sJlyf73jvxNwsvgqIslSUMd0IHnJJJ171eAgoxMVxCJa EhC4e1dDsJvFV+t+lrpXF+m+CEk/nie3PWpQcd8b9los+fjA472t1mffRlvcw+qH4Otn Lk+bWqY/Wni/hjmBwYlheTcRLBoBr140SBUpXfflNHRQZLkwflBoXYbKqlSLRVD5EqUR F04f8YfFfjmujI9OVc8L5+eKvb7v8uz96UpryV9igW5OeiZrr5GTjZeSir2IImKj4N0X vkV48JgUbqhBVsb+/Ha9lhC+2Ke0zDGna2SrG64FeFlXqyeZuVYDWQdt2OHiVMWq6yA8 u/Yg== X-Gm-Message-State: ACrzQf2GxdDSQUcKJyiV7B3G4V1WKS9e84hxpU23B/FtHnAaxQW3o2jY wAlFhHIot9SfA4Xo6pr6PgqeeTy/a8ovUQ== X-Received: by 2002:a05:6870:1494:b0:12a:fadc:c6ce with SMTP id k20-20020a056870149400b0012afadcc6cemr12243013oab.283.1663946187333; Fri, 23 Sep 2022 08:16:27 -0700 (PDT) Received: from mail-oa1-f51.google.com (mail-oa1-f51.google.com. [209.85.160.51]) by smtp.gmail.com with ESMTPSA id l5-20020a9d7a85000000b00638ef9bb847sm4055580otn.79.2022.09.23.08.16.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Sep 2022 08:16:26 -0700 (PDT) Received: by mail-oa1-f51.google.com with SMTP id 586e51a60fabf-127ba06d03fso715736fac.3 for ; Fri, 23 Sep 2022 08:16:26 -0700 (PDT) X-Received: by 2002:a05:6870:c0c9:b0:127:c4df:5b50 with SMTP id e9-20020a056870c0c900b00127c4df5b50mr5247692oad.126.1663946185877; Fri, 23 Sep 2022 08:16:25 -0700 (PDT) MIME-Version: 1.0 References: <20220910221947.171557773@linutronix.de> <87h71cr1gb.fsf@jogness.linutronix.de> <875yheqh6v.fsf@jogness.linutronix.de> In-Reply-To: <875yheqh6v.fsf@jogness.linutronix.de> From: Linus Torvalds Date: Fri, 23 Sep 2022 08:16:09 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: printk meeting at LPC 2022 To: John Ogness Cc: Thomas Gleixner , LKML , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Peter Zijlstra , "Paul E. McKenney" , Daniel Vetter , Greg Kroah-Hartman , Helge Deller , Jason Wessel , Daniel Thompson , John Kacur , "John B. Wyatt IV" , Sebastian Andrzej Siewior Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 Fri, Sep 23, 2022 at 7:49 AM John Ogness wrote: > > - Printing the backlog is important! If some emergency situation occurs, > make sure the backlog gets printed. Yeah, I really liked the notion of doing the oops with just filling the back buffer but still getting it printed out if something goes wrong in the middle. That said, I'm sure we can tweak the exact "how much of the back log we print" if there are any real life issues that look even remotely like the demo did. It's not like you couldn't do a "skipping lines" message if there are thousands of old non-emergency lines in the back buffer, and prioritize getting the recent ones out first. I doubt it ends up being an issue in practice, but basically I wanted to just pipe up and say that the exact details of how much of the back buffer needs to be flushed first _could_ be tweaked if it ever does come up as an issue. Linus