Re: [PATCH] sched/core: Account PSI IRQ time to the execution context

From: Peter Zijlstra

Date: Tue Sep 22 2026 - 05:53:50 EST


On Tue, Sep 22, 2026 at 05:15:31PM +0800, Zhan Xusheng wrote:
> On Tue, Sep 22, 2026 at 10:17:06AM +0200, Peter Zijlstra wrote:
> > Does not in fact apply. There is no curr in sched_tick anymore.
>
> It needs commit f5741d2b3451 ("sched/core: Call wq_worker_tick() for the
> execution context"), which added that local. That is in sched/urgent and
> master, not in sched/core, and the patch applies cleanly to the first two.
>
> If you want it on sched/core instead, I will resend using rq->curr at the
> call site.

Hmm, I thought I was on tip/master which should have /urgent on, but let
me try again. Perhaps I fat-fingered something.