From: Matt Fleming <matt@readmodwrite.com>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: Tejun Heo <tj@kernel.org>, Andrea Righi <arighi@nvidia.com>,
sched-ext@lists.linux.dev, linux-kernel@vger.kernel.org,
kernel-team@cloudflare.com
Subject: Re: sched_ext/lavd hard lockup in old call_rcu_tasks_generic needadjust path
Date: Thu, 18 Jun 2026 07:56:05 +0100 [thread overview]
Message-ID: <ajOWZ3JvlmihMNAH@matt-Precision-5490> (raw)
In-Reply-To: <35337ded-add4-4689-8f61-73f583a69b36@paulmck-laptop>
On Tue, Jun 16, 2026 at 08:24:55PM -0700, Paul E. McKenney wrote:
> On Tue, Jun 16, 2026 at 11:56:19AM +0100, Matt Fleming wrote:
> >
> > What about something like this?
>
> Not bad, actually.
>
> But we are going to have to similarly bypass call_rcu_tasks_generic()
> soon enough, though only when interrupts are disabled at the time
> of the call. One complication is that it would need to interact
> with rcu_barrier_tasks_generic(), which would need to remove any
> pending callbacks from bypassed call_rcu_tasks_generic() invocations,
> as in llist_del_all() and enqueue the callbacks. A well-placed
> raw_spin_trylock_rcu_node(rtpcp) should suffice for the serialization.
> The trick is that rcu_barrier_tasks_generic() is not obligated to
> wait on later calls to call_rcu_tasks_generic().
>
> Is this something that you would be interested in digging into?
Sure, I'll take a look.
Thanks,
Matt
next prev parent reply other threads:[~2026-06-18 6:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-09 10:47 sched_ext/lavd hard lockup in old call_rcu_tasks_generic needadjust path Matt Fleming
2026-06-09 11:23 ` Paul E. McKenney
2026-06-11 13:02 ` Matt Fleming
2026-06-11 13:45 ` Paul E. McKenney
2026-06-12 10:55 ` Matt Fleming
2026-06-12 14:00 ` Paul E. McKenney
2026-06-16 10:56 ` Matt Fleming
2026-06-17 3:24 ` Paul E. McKenney
2026-06-18 6:56 ` Matt Fleming [this message]
2026-06-18 15:55 ` 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=ajOWZ3JvlmihMNAH@matt-Precision-5490 \
--to=matt@readmodwrite.com \
--cc=arighi@nvidia.com \
--cc=kernel-team@cloudflare.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulmck@kernel.org \
--cc=sched-ext@lists.linux.dev \
--cc=tj@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