lkml.org 
[lkml]   [2015]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched: Handle priority boosted tasks proper in setscheduler()
On Tue, 5 May 2015 18:50:17 +0200 (CEST)
Thomas Gleixner <tglx@linutronix.de> wrote:

> Crap. Yes, I missed that. So __setscheduler() assumes that there is no
> boosting going on. So we need:
>
> p->prio = effective_prio(p);
>
> there instead.

Of course then we need to do something about normalize_task() (for
sysrq), which depends on it being normal_prio().

-- Steve


\
 
 \ /
  Last update: 2015-05-05 19:41    [W:0.084 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site