mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@kernel.org>
To: Joel Fernandes <joelagnelf@nvidia.com>
Cc: Song Liu <song@kernel.org>,
	"rcu@vger.kernel.org" <rcu@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"kernel-team@meta.com" <kernel-team@meta.com>,
	"rostedt@goodmis.org" <rostedt@goodmis.org>,
	"leitao@debian.org" <leitao@debian.org>,
	"david.dai@linux.dev" <david.dai@linux.dev>
Subject: Re: [PATCH] rcu-tasks: Use pr_debug() for callback contend/collapse messages
Date: Wed, 11 Nov 2026 10:52:37 -0800	[thread overview]
Message-ID: <94f4f310-63f2-4964-bca3-e1756901d33a@paulmck-laptop> (raw)
In-Reply-To: <A0F1CA65-00B4-4E42-8CB8-12C11BE7A7A2@nvidia.com>

On Wed, Nov 11, 2026 at 06:22:21PM +0000, Joel Fernandes wrote:
> 
> 
> > On Nov 11, 2026, at 12:32 PM, Song Liu <song@kernel.org> wrote:
> > 
> > On Wed, Nov 11, 2026 at 7:54 AM Joel Fernandes <joelagnelf@nvidia.com> wrote:
> >> 
> >>> On Tue, Nov 10, 2026 at 09:35:51PM -0800, Song Liu wrote:
> >>> Commit 5de907d24919 ("rcu-tasks: Disable callback contend/collapse
> >>> messages by default") added the rcupdate.rcu_task_collapse_debug module
> >>> parameter to gate the three pr_info() messages that report RCU Tasks
> >>> switching between CPU-0 and per-CPU callback queuing.
> >>> 
> >>> The kernel already has a mechanism for debug-only messages that are off
> >>> by default: pr_debug().  Use pr_debug() for these messages, and remove
> >>> the rcu_task_collapse_debug module parameter, its documentation, and
> >>> its boot-time announcement.
> >>> 
> >>> The messages stay off by default.  On CONFIG_DYNAMIC_DEBUG=y kernels,
> >>> they can be enabled at boot with:
> >>> 
> >>>  dyndbg="file kernel/rcu/tasks.h +p"
> >>> 
> >>> or at runtime with:
> >>> 
> >>>  echo 'file kernel/rcu/tasks.h +p' > /proc/dynamic_debug/control
> >>> 
> >>> Assisted-by: Claude:claude-opus-5
> >>> Signed-off-by: Song Liu <song@kernel.org>
> >> 
> >> Makes sense to me,
> >> 
> >> Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
> >> 
> >> Will apply for 7.5.
> > 
> > How about we queue this for 7.4, say rc3 or rc4.
> > 
> > If we delay until 7.5, 7.4 kernel will be the only one that has
> > rcupdate.rcu_task_collapse_debug. IOW, if we merge it to 7.4,
> > no official kernel will have rcupdate.rcu_task_collapse_debug
> > at all.
> > 
> > WDYT?
> 
> That works for me, Paul shall I send this one separately for the -rc? Also appreciate an Reviewed by tag from your side.

I sent the Reviewed-by directly in response to Song's patch, and I would
be happy for you to send the pull request.  ;-)

							Thanx, Paul

  reply	other threads:[~2026-11-11 18:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-11  5:35 Song Liu
2026-11-11 15:54 ` Joel Fernandes
2026-11-11 17:32   ` Song Liu
2026-11-11 18:22     ` Joel Fernandes
2026-11-11 18:52       ` Paul E. McKenney [this message]
2026-11-11 18:51 ` Paul E. McKenney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94f4f310-63f2-4964-bca3-e1756901d33a@paulmck-laptop \
    --to=paulmck@kernel.org \
    --cc=david.dai@linux.dev \
    --cc=joelagnelf@nvidia.com \
    --cc=kernel-team@meta.com \
    --cc=leitao@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rcu@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=song@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®