Re: [PATCH] sched: Handle priority boosted tasks proper in setscheduler()
From: Steven Rostedt
Date: Tue May 05 2015 - 13:02:12 EST
On Tue, 5 May 2015 18:50:17 +0200 (CEST)
Thomas Gleixner <tglx@xxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/