Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp138556rdb; Tue, 31 Oct 2023 03:19:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFkSN8qySxlWeMnePRZw0QqgET9pWDpmncwo0Oc2E7QriBtC61YOm++VSaZ0hk2M7ymQOsY X-Received: by 2002:a17:902:d2c7:b0:1cc:4efc:c87d with SMTP id n7-20020a170902d2c700b001cc4efcc87dmr5255740plc.55.1698747557621; Tue, 31 Oct 2023 03:19:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698747557; cv=none; d=google.com; s=arc-20160816; b=rexcenFV2q2vAUXwiiJhtsuzc8U8OTYauupVcSdYdXtdeC5eRTBWragM1uX8MB9v+S X2TOIGhNMMF64wUfGoBrVUAOR837Xg20+nj9pUQBaycSTyrDPRmVVVu0ZQ2AYCLhcyeS evnR09U6bWRjtAz8he+woTcGX1XmHAK2lYwwA8U10FjYWxj2v7QC7yaHXPtbRcohpT0i xTvnbVVBt7owANCk8nGt1WLiZjgmjNkzieXr6ZLs4UWRgnU9j8Mg9GHWC2VBbzyE+Yuu f3zqut8DE6mROyqfqCRCqJiVBdebgVWi6hQHxE1EucHp0pgyNr+RRo3EGDWLZ6wS91pc rvJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5lYq8vYf2EMMZNfJsRu5KqXbJ+yk8YuSuhPaQS5Orbo=; fh=B0FmBs7O30jfBFyGfXGTMvsqyvwEp0LqjJUu3Tvz1kk=; b=wtXG5mD7s4ylRj9YSkdUl2cl0woMa+i4sMtrqfvZ9hVd9cQu6kbRjzXV6HEcXhxpfA 177FJFflfAxg2tgKM4sdvztGPEE34aynOx5x78jfHbWzS0iWaxk38jffSKmnVdI6hfgo 4M0tP/5hGTaXzNkr5WzI4wkcg5F+BsOdmbJIvZsWCzolYDdFEYtC6mAjiQJDGGGik9aQ 9oFYiUPUvH5Sg4TUcEu7sXmcTnLGnk080ccMLMAki0OmjEGPo9mBEbuOXH72qqlVef+Y NonHpx56jzhX4t9nTQA2G9mx3dQDGmrfIMPZNmJ/Ubs2k5n2xqGKLxmBogJWxG4fTNRc 09KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aDi4pR+R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id b2-20020a170903228200b001ca1bd194b4si835633plh.416.2023.10.31.03.19.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 03:19:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aDi4pR+R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 1BE62802758F; Tue, 31 Oct 2023 03:19:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343565AbjJaKTH (ORCPT + 99 others); Tue, 31 Oct 2023 06:19:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229934AbjJaKTG (ORCPT ); Tue, 31 Oct 2023 06:19:06 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95BB983; Tue, 31 Oct 2023 03:19:04 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF366C433C8; Tue, 31 Oct 2023 10:19:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698747544; bh=83ff9t5GCQi9LOG5AEcLmIHSOIfxWn+23hXnudO34gw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aDi4pR+R28eO1zaLyqiV8wJNzoTJXHMmD+itcI8WaI9n10K8Jfd9up7scbAtkpjbz 3fVA8GjwnD2Ggc98CW6OyR4svLaKG+Q9xA3c89AENdNlhLfS8AP31G4xz3xmrBDZsw Vk4k3pFIgyTaGkWrEzytwPeZVv2Y2jS0DL/7uOzJfyxQZ98SwlA7YqTnWiKUwc4puW PTBSSjbT0AeRJ8dZw/wl/za2wURYC7oDUGszeekBcr8lLF/aYR4P2Md0sXkBAwQ6qR VYgPuiGPP0oZvHlDFST+ZcGXtd48zHCuuYzDzXHtuB8GdHXk8+J8GHQ3BJoX6lVAYf BHMsiNguKjVpQ== Date: Tue, 31 Oct 2023 11:19:01 +0100 From: Frederic Weisbecker To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "Paul E. McKenney" , rcu@vger.kernel.org, Boqun Feng , Joel Fernandes , Neeraj Upadhyay , Uladzislau Rezki , Z qiang Subject: Re: [GIT PULL] RCU changes for v6.7 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Tue, 31 Oct 2023 03:19:15 -0700 (PDT) On Mon, Oct 30, 2023 at 06:12:51PM -1000, Linus Torvalds wrote: > On Fri, 27 Oct 2023 at 01:33, Frederic Weisbecker wrote: > > > > rcu/stall: Stall detection updates. Introduce RCU CPU Stall notifiers > > that allows a subsystem to provide informations to help debugging. > > Also cure some false positive stalls. > > I absolutely detest this stall notifier thing. > > Putting the stall notifier before the stall message does not "help > debugging". Quite the reverse. It ends up being a lovely way to make > sure that the debug message is never printed, because there's some > entirely untested - and thus buggy - notifier on the chain before the > printout from the actual stall code. > > I've pulled this, but I really want to voice my objection against > these kinds of "debugging aids". I have personally spent way too many > hours debugging a dead machine because some "debug aid" ended up being > untested garbage. > > If you absolutely think that this is a worthy and useful thing to do, > then at the very least make sure that these "debug aids" will always > come *after* the core output, and can't make things horrendously > worse. > > But in general, think twice before adding "maybe somebody else wants > to print debug info". Because unless you have a really really REALLY > good reason for it, it's more likely to hurt than to help. > > Right now I see no users of this except for the rcu torture code, and > it certainly doesn't seem hugely important there. And so I'm wondering > what the actual real use-case would be. I see, one possibility is to revert this and switch to normal calls for any future debug information to add from another subsystem. I'll wait for Paul's opinion... Thanks.