sched: Add sysctl_sched_shares_window
authorPaul Turner <pjt@google.com>
Mon, 15 Nov 2010 23:47:06 +0000 (15:47 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Nov 2010 12:27:49 +0000 (13:27 +0100)
commita7a4f8a752ec734b2eab904fc863d5dc873de338
tree18b69c4cc0fc10cf6f0fe429308b25086942d921
parent67e86250f8ea7b8f7da53ac25ea73c6bd71f5cd9
sched: Add sysctl_sched_shares_window

Introduce a new sysctl for the shares window and disambiguate it from
sched_time_avg.

A 10ms window appears to be a good compromise between accuracy and performance.

Signed-off-by: Paul Turner <pjt@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20101115234938.112173964@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/sched_fair.c
kernel/sysctl.c