Messages in this thread | | | Date | Tue, 5 May 2015 13:01:49 -0400 | From | Steven Rostedt <> | Subject | Re: [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
| |