Re: [PATCH] sched/proxy_exec: Optimize proxy_tag_curr() pushable removal

From: soolaugust

Date: Wed Mar 04 2026 - 00:34:05 EST


From: zhidao su <suzhidao@xxxxxxxxxx>

On Wed, Mar 4, 2026 at 10:28 AM John Stultz <jstultz@xxxxxxxxxx> wrote:
> Yeah, I agree we should use a sched_class-> method rather then doing
> a big conditional tree.
>
> Oh hmm, good catch! So I think you're right that right now we're
> leaning on the owner to be run without a donor before we return it
> to the pushable list, which isn't great.
>
> I'll take a swing at addressing this (along with your other feedback
> - this year has been hectic and I've only just now finally managed
> to get back to proxy-exec upstreaming efforts!) for v25.

Understood, and thanks to both of you for the thorough review.

The sched_class->proxy_tag_curr() direction makes sense -- it avoids
the conditional tree and keeps each class's pushable logic self-
contained. And the missing proxy_untag_current() is a real gap I
had not considered; good to know it will be addressed in v25.

I'll drop this RFC and wait for v25. Looking forward to it.