]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sched,rt: Remove return value from pull_rt_task()
authorPeter Zijlstra <peterz@infradead.org>
Thu, 11 Jun 2015 12:46:40 +0000 (14:46 +0200)
committerJiri Slaby <jslaby@suse.cz>
Thu, 3 Mar 2016 11:45:54 +0000 (12:45 +0100)
commit2f61a9e78fc7a18a55cba55a812337c50bb99f24
treea29399f18c9c59771d4f5f1853b2fed276efbf0a
parentf4b877aeaabbc0d7ed778ca170fd58272a4a10ee
sched,rt: Remove return value from pull_rt_task()

commit 8046d6806247088de5725eaf8a2580b29e50ac5a upstream.

In order to be able to use pull_rt_task() from a callback, we need to
do away with the return value.

Since the return value indicates if we should reschedule, do this
inside the function. Since not all callers currently do this, this can
increase the number of reschedules due rt balancing.

Too many reschedules is not a correctness issues, too few are.

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.679002000@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