aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorPaul Turner <pjt@google.com>2010-11-15 18:47:06 -0500
committerIngo Molnar <mingo@elte.hu>2010-11-18 07:27:49 -0500
commita7a4f8a752ec734b2eab904fc863d5dc873de338 (patch)
tree18b69c4cc0fc10cf6f0fe429308b25086942d921 /include/linux/sched.h
parent67e86250f8ea7b8f7da53ac25ea73c6bd71f5cd9 (diff)
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>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 8abb8aa59664..840f1277492f 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1900,6 +1900,7 @@ extern unsigned int sysctl_sched_migration_cost;
1900extern unsigned int sysctl_sched_nr_migrate; 1900extern unsigned int sysctl_sched_nr_migrate;
1901extern unsigned int sysctl_sched_time_avg; 1901extern unsigned int sysctl_sched_time_avg;
1902extern unsigned int sysctl_timer_migration; 1902extern unsigned int sysctl_timer_migration;
1903extern unsigned int sysctl_sched_shares_window;
1903 1904
1904int sched_proc_update_handler(struct ctl_table *table, int write, 1905int sched_proc_update_handler(struct ctl_table *table, int write,
1905 void __user *buffer, size_t *length, 1906 void __user *buffer, size_t *length,