]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0482148443b564295703480cd04b2dc1055fabd6
treec3d4d6f64a0fe7eec9283f4413d111a8d37d7053
parentb3016069a0e4e06cb9c0048569921a0a2573b3d0
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