Re: [RFC PATCH v2 6/6] sched/fair: Implement starvation monitor

From: Juri Lelli
Date: Fri Aug 07 2020 - 11:06:47 EST


On 07/08/20 16:13, peterz@xxxxxxxxxxxxx wrote:
> On Fri, Aug 07, 2020 at 03:43:53PM +0200, Juri Lelli wrote:
>
> > Right, but I fear we won't be able to keep current behavior for wakeups:
> > RT with highest prio always gets scheduled right away?
>
> If you consider RT throttling, that's already not the case. We can
> consider this fair server to be just another way to implement that.
>
> At some point, we'll have have to preempt higher priority tasks, that's
> the entire point of the thing after all.
>

Ah, indeed. But I was thinking we might try to do a little "better" wrt
to RT Throttling while we are at it. :-)

This proposal has the potential to be more flexible and to kick in only
when really needed.