sched/core: Fix sched_rt_global_validate
authorJuri Lelli <[email protected]>
Tue, 11 Feb 2014 08:24:26 +0000 (09:24 +0100)
committerThomas Gleixner <[email protected]>
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 <[email protected]>
Signed-off-by: Juri Lelli <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
kernel/sched/core.c