Re: [PATCH 09/23] sched,ivtv: Convert to sched_set_fifo*()
From: Peter Zijlstra
Date: Wed Apr 22 2020 - 09:26:38 EST
On Wed, Apr 22, 2020 at 08:53:45AM -0400, Steven Rostedt wrote:
> On Wed, 22 Apr 2020 13:27:28 +0200
> Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> > Because SCHED_FIFO is a broken scheduler model (see previous patches)
> > take away the priority field, the kernel can't possibly make an
> > informed decision.
> >
> > Effectively changes from 99 to 50.
>
> I wonder for the 99 users, we should have a sched_set_high() that would set
> the task to something like 75.
>
> That is, above default 50?
No. If userspace knows, userspace can fix it. We must not bother with
priority, simply because we cannot, possibly, say something useful.