]> git.karo-electronics.de Git - linux-beck.git/commit
sched: Remove redundant update_runtime notifier
authorNeil Zhang <zhangwm@marvell.com>
Thu, 11 Apr 2013 13:04:59 +0000 (21:04 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 28 May 2013 07:40:22 +0000 (09:40 +0200)
commitc5405a495e88d93cf9b4f4cc91507c7f4afcb901
treec0d33303fb9162c610c5a0f0bc108f746d1e1b69
parent41261b6a832ea0e788627f6a8707854423f9ff49
sched: Remove redundant update_runtime notifier

migration_call() will do all the things that update_runtime() does.
So let's remove it.

Furthermore, there is potential risk that the current code will catch
BUG_ON at line 689 of rt.c when do cpu hotplug while there are realtime
threads running because of enabling runtime twice while the rt_runtime
may already changed.

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1365685499-26515-1-git-send-email-zhangwm@marvell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
kernel/sched/rt.c
kernel/sched/sched.h