]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 3 Mar 2016 11:45:54 +0000 (12:45 +0100)
commit281eea0a8603241edc3fe38c1ab4fa0a92ebec2b
tree599abd178532be4738257eba5b6ca283bca63ac1
parent2f61a9e78fc7a18a55cba55a812337c50bb99f24
sched, rt: Convert switched_{from, to}_rt() / prio_changed_rt() to balance callbacks

commit fd7a4bed183523275279c9addbf42fce550c2e90 upstream.

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>
Signed-off-by: Byungchul Park <byungchul.park@lge.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
kernel/sched/rt.c