Re: [RFC PATCH 09/11] sched/rt: Fix proxy/current (push,pull)ability

From: Valentin Schneider
Date: Thu Oct 20 2022 - 12:15:35 EST


On 20/10/22 15:30, Juri Lelli wrote:
> On 19/10/22 18:05, Valentin Schneider wrote:
>> One possible change here is to make the blocked chain migrate towards the
>> proxy rather than the owner - this makes scheduling priority considerations
>> a bit saner, but is bad towards the owner (migrating blocked tasks is
>> "cheap", migrating running tasks isn't).
>
> Plus we need to consider owner's affinity, maybe it can't really migrate
> towards proxy's CPU.
>

Right, "little" detail I forgot...

> It looks like in general we would like to perform load balancing
> decisions considering potential proxies attributes? Guess it might soon
> turn into a mess to implement, though.

I can't think of anything clever right now, but we do need something like
that to get "feature parity" with rtmutexes.