On Mon, Jun 06, 2016 at 09:47:52PM +0000, Mathieu Desnoyers wrote: > >> +++ b/kernel/sched/core.c > >> @@ -2230,6 +2230,11 @@ int sysctl_schedstats(struct ctl_table *table, int > >> write, > >> #endif > >> #endif > >> > >> +static void sched_set_prio(struct task_struct *p, int prio) > >> +{ > >> + p->prio = prio; > >> +}
Urgh; so there's a bunch of patches to the PI code that I've been ignoring that'll completely break all this. Let me dig them up and get this all sorted. Basically, looking at @prio is broken.