linux/kernel/sched
Kamalesh Babulal 11534ec5b6 sched: Remove cfs bandwidth period check in tg_set_cfs_period()
Remove cfs bandwidth period check from tg_set_cfs_period.
Invalid bandwidth period's lower/upper limits are denoted
by min_cfs_quota_period/max_cfs_quota_period repsectively,
and are checked against valid period in tg_set_cfs_bandwidth().

As pjt pointed out, negative input will result in very large unsigned
numbers and will be caught by the max allowed period test.

Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Acked-by: Paul Turner <pjt@google.com>
[ammended changelog to mention negative values]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20111210135925.GA14593@linux.vnet.ibm.com
--
 kernel/sched/core.c |    3 ---
 1 file changed, 3 deletions(-)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-12-21 10:34:48 +01:00
..
Makefile sched: Move all scheduler bits into kernel/sched/ 2011-11-17 12:20:22 +01:00
auto_group.c sched: Move all scheduler bits into kernel/sched/ 2011-11-17 12:20:22 +01:00
auto_group.h sched: Move all scheduler bits into kernel/sched/ 2011-11-17 12:20:22 +01:00
clock.c sched: Move all scheduler bits into kernel/sched/ 2011-11-17 12:20:22 +01:00
core.c sched: Remove cfs bandwidth period check in tg_set_cfs_period() 2011-12-21 10:34:48 +01:00
cpupri.c sched: Move all scheduler bits into kernel/sched/ 2011-11-17 12:20:22 +01:00
cpupri.h sched: Move all scheduler bits into kernel/sched/ 2011-11-17 12:20:22 +01:00
debug.c sched: Move all scheduler bits into kernel/sched/ 2011-11-17 12:20:22 +01:00
fair.c sched: Fix load-balance lock-breaking 2011-12-21 10:34:47 +01:00
features.h sched: Use jump_labels for sched_feat 2011-12-06 20:51:26 +01:00
idle_task.c sched: Move all scheduler bits into kernel/sched/ 2011-11-17 12:20:22 +01:00
rt.c sched/rt: Code cleanup, remove a redundant function call 2011-12-06 09:06:28 +01:00
sched.h sched: Only queue remote wakeups when crossing cache boundaries 2011-12-21 10:34:44 +01:00
stats.c sched: Move all scheduler bits into kernel/sched/ 2011-11-17 12:20:22 +01:00
stats.h Merge branch 'sched/core' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into cputime-tip 2011-12-19 19:23:15 +01:00
stop_task.c sched: Move all scheduler bits into kernel/sched/ 2011-11-17 12:20:22 +01:00