]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sched, rt: Convert switched_{from, to}_rt() / prio_changed_rt() to balance callbacks
authorPeter Zijlstra <peterz@infradead.org>
Thu, 11 Jun 2015 12:46:41 +0000 (14:46 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 18 Jun 2015 22:25:26 +0000 (00:25 +0200)
commitfd7a4bed183523275279c9addbf42fce550c2e90
treedbc5e639a704774c0278ee3e6e95ecb682dbff58
parent8046d6806247088de5725eaf8a2580b29e50ac5a
sched, rt: Convert switched_{from, to}_rt() / prio_changed_rt() to balance callbacks

Remove the direct {push,pull} balancing operations from
switched_{from,to}_rt() / prio_changed_rt() and use the balance
callback queue.

Again, err on the side of too many reschedules; since too few is a
hard bug while too many is just annoying.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: ktkhai@parallels.com
Cc: rostedt@goodmis.org
Cc: juri.lelli@gmail.com
Cc: pang.xunlei@linaro.org
Cc: oleg@redhat.com
Cc: wanpeng.li@linux.intel.com
Cc: umgwanakikbuti@gmail.com
Link: http://lkml.kernel.org/r/20150611124742.766832367@infradead.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched/rt.c