lkml.org 
[lkml]   [2020]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/23] sched,ivtv: Convert to sched_set_fifo*()
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@infradead.org> 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.

\
 
 \ /
  Last update: 2020-04-22 15:27    [W:0.108 / U:1.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site