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)
commite9e7cb38c21c80c82af4b16608bb4c8c5ec6a28e
tree008372d34fb9a1f45f2b177704668c54a71e8c95
parent4df1638cfaf9b2b7ad993979a41965acab9cd156
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