Re: [PATCH v3 0/3] sched_ext: Improve exit-time diagnostics

From: Tejun Heo

Date: Wed Apr 29 2026 - 11:24:33 EST


On Wed, Apr 29, 2026 at 07:29:30PM +0800, Cheng-Yang Chou wrote:
> Hi Tejun,
>
> On Tue, Apr 28, 2026 at 10:57:27PM -1000, Tejun Heo wrote:
> > A few things I noticed that might be worth a follow-up:
> >
> > 1. scx_rcu_cpu_stall() takes no cpu, so the captured exit_cpu ends
> > up being the detector rather than the stalled one. We could
> > probably plumb it through from print_other_cpu_stall(), where
> > the stalled cpu is known.
>
> Do you mean we should change the function signatures to pass the stalled
> CPU through, e.g. panic_on_rcu_stall(int stalled_cpu) and
> scx_rcu_cpu_stall(int stalled_cpu)?

Yeah.

Thanks.

--
tejun