]> git.baikalelectronics.ru Git - kernel.git/commit
sched/core: Fix sched_rt_global_validate
authorJuri Lelli <juri.lelli@gmail.com>
Tue, 11 Feb 2014 08:24:26 +0000 (09:24 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 21 Feb 2014 20:27:10 +0000 (21:27 +0100)
commitaa2b3b7ba2b0721cfa58dca53e2f848839fefb1c
tree008372d34fb9a1f45f2b177704668c54a71e8c95
parentf347f88cf6d2347defc45b602ebd9d8e27a314c3
sched/core: Fix sched_rt_global_validate

Don't compare sysctl_sched_rt_runtime against sysctl_sched_rt_period if
the former is equal to RUNTIME_INF, otherwise disabling -rt bandwidth
management (with CONFIG_RT_GROUP_SCHED=n) fails.

Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Juri Lelli <juri.lelli@gmail.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1392107067-19907-2-git-send-email-juri.lelli@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched/core.c