[PATCH 16/17] rtmutex: Deboost before waking up the top waiter

2018-11-09 Thread Henrik Austad
From: Xunlei Pang commit 2a1c6029940675abb2217b590512dbf691867ec4 upstream. We should deboost before waking the high-priority task, such that we don't run two tasks with the same "state" (priority, deadline, sched_class, etc). In order to make sure the boosting task doesn't start running

[PATCH 16/17] rtmutex: Deboost before waking up the top waiter

2018-11-09 Thread Henrik Austad
From: Xunlei Pang commit 2a1c6029940675abb2217b590512dbf691867ec4 upstream. We should deboost before waking the high-priority task, such that we don't run two tasks with the same "state" (priority, deadline, sched_class, etc). In order to make sure the boosting task doesn't start running