[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH RFC v3 03/13] rcu-tasks: Add a Tasks RCU implementation for reader-marked trampolines
- To: Frederic Weisbecker <frederic@xxxxxxxxxx>
- From: "Paul E. McKenney" <paulmck@xxxxxxxxxx>
- Date: Thu, 17 Sep 2026 12:25:40 -0700
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=k20260515 header.d=kernel.org header.i="@kernel.org" header.h="Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To"
- Cc: Josef Bacik <josef@xxxxxxxxxxxxxx>, Neeraj Upadhyay <neeraj.upadhyay@xxxxxxxxxx>, Joel Fernandes <joelagnelf@xxxxxxxxxx>, Boqun Feng <boqun@xxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Steven Rostedt <rostedt@xxxxxxxxxxx>, Masami Hiramatsu <mhiramat@xxxxxxxxxx>, Mark Rutland <mark.rutland@xxxxxxx>, Jiri Olsa <jolsa@xxxxxxxxxx>, Alexei Starovoitov <ast@xxxxxxxxxx>, Daniel Borkmann <daniel@xxxxxxxxxxxxx>, Andrii Nakryiko <andrii@xxxxxxxxxx>, x86@xxxxxxxxxx, Catalin Marinas <catalin.marinas@xxxxxxx>, Will Deacon <will@xxxxxxxxxx>, Puranjay Mohan <puranjay@xxxxxxxxxx>, Xu Kuohai <xukuohai@xxxxxxxxxxxxxxx>, Andy Lutomirski <luto@xxxxxxxxxx>, Josh Triplett <josh@xxxxxxxxxxxxxxxx>, Uladzislau Rezki <urezki@xxxxxxxxx>, Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>, Lai Jiangshan <jiangshanlai@xxxxxxxxx>, Zqiang <qiang.zhang@xxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Luis Chamberlain <mcgrof@xxxxxxxxxx>, Ihor Solodrai <ihor.solodrai@xxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, rcu@xxxxxxxxxxxxxxx, linux-trace-kernel@xxxxxxxxxxxxxxx, bpf@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Thu, 17 Sep 2026 19:25:51 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Thu, Sep 17, 2026 at 08:45:36PM +0200, Frederic Weisbecker wrote:
> Le Thu, Sep 17, 2026 at 08:40:10AM -0700, Paul E. McKenney a écrit :
> > > > Trampolines that transfer control to tracing code could supply the
> > > > needed
> > > > cleanup call. But last I checked, there were trampolines that
> > > > transferred
> > > > directly back to the original code, with no opportunity for cleaning up.
> > > >
> > > > Or am I still missing a trick here?
> > >
> > > You're right. So we'll indeed need to reuse the deferred qs points here.
> >
> > Except this is getting a bit involved.
> >
> > Don't get me wrong, if Josef is happy to take this on, far be it from me
> > to stand in his way. But if not, we should be willing to treat this
> > optimization as a follow-on effort, whether by Josef or someone else.
>
> Sure, I guess I can try the follow-on, especially if it leads to removing
> all this RCU tasks black magic.
That sounds most excellent, thank you!
Thanx, Paul
|