diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-12-20 14:13:49 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-04-04 22:09:41 (GMT) |
commit | 51ae24cecd6b7641a0e2bcd4e909a31766953173 (patch) | |
tree | da705664ed4dd3cd000f187620b2864f8f77dc8d /kernel/time | |
parent | 5518c6bed940793c5b32f99f1d212af4fccc455b (diff) | |
download | linux-fsl-qoriq-51ae24cecd6b7641a0e2bcd4e909a31766953173.tar.xz |
sched: Consider pi boosting in setscheduler
If a PI boosted task policy/priority is modified by a setscheduler()
call we unconditionally dequeue and requeue the task if it is on the
runqueue even if the new priority is lower than the current effective
boosted priority. This can result in undesired reordering of the
priority bucket list.
If the new priority is less or equal than the current effective we
just store the new parameters in the task struct and leave the
scheduler class and the runqueue untouched. This is handled when the
task deboosts itself. Only if the new priority is higher than the
effective boosted priority we apply the change immediately.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Cc: stable-rt@vger.kernel.org
Diffstat (limited to 'kernel/time')
0 files changed, 0 insertions, 0 deletions