sched/rt: Add a tuning knob to allow changing SCHED_RR timeslice
authorClark Williams <williams@redhat.com>
Thu, 7 Feb 2013 15:47:04 +0000 (09:47 -0600)
committerIngo Molnar <mingo@kernel.org>
Thu, 7 Feb 2013 19:51:07 +0000 (20:51 +0100)
commitce0dbbbb30aee6a835511d5be446462388ba9eee
treec3d4d6f64a0fe7eec9283f4413d111a8d37d7053
parentcf4aebc292fac7f34f8345664320e9d4a42ca76c
sched/rt: Add a tuning knob to allow changing SCHED_RR timeslice

Add a /proc/sys/kernel scheduler knob named
sched_rr_timeslice_ms that allows global changing of the
SCHED_RR timeslice value. User visable value is in milliseconds
but is stored as jiffies.  Setting to 0 (zero) resets to the
default (currently 100ms).

Signed-off-by: Clark Williams <williams@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20130207094704.13751796@riff.lan
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched/sysctl.h
kernel/sched/core.c
kernel/sched/rt.c
kernel/sysctl.c