sched, dl: Convert switched_{from, to}_dl() / prio_changed_dl() to balance callbacks
authorPeter Zijlstra <peterz@infradead.org>
Thu, 11 Jun 2015 12:46:43 +0000 (14:46 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 18 Jun 2015 22:25:26 +0000 (00:25 +0200)
commit9916e214998a4a363b152b637245e5c958067350
tree5df0a1cdf0695951c654f7cdbb5443b1dc0560da
parent0ea60c2054fc3b0c3eb68ac4f6884f3ee78d9925
sched, dl: Convert switched_{from, to}_dl() / prio_changed_dl() to balance callbacks

Remove the direct {push,pull} balancing operations from
switched_{from,to}_dl() / prio_changed_dl() 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.968262663@infradead.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched/deadline.c