]> git.baikalelectronics.ru Git - kernel.git/commit
sched_rt: don't start timer when rt bandwidth disabled
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Wed, 25 Feb 2009 17:59:26 +0000 (09:59 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Feb 2009 13:18:55 +0000 (14:18 +0100)
commitcf83d429771a75bede516a2d8611d3730877f906
tree993ca627d80b76baefe322c3cbef9f1599d55bff
parent813a2cc98dadadf868f318b7f393703b67be76f9
sched_rt: don't start timer when rt bandwidth disabled

Impact: fix incorrect condition check

No need to start rt bandwidth timer when rt bandwidth is disabled.
If this timer starts, it may stop at sched_rt_period_timer() on the first time.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c