aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2008-01-25 15:08:29 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-25 15:08:29 -0500
commitfa85ae2418e6843953107cd6a06f645752829bc0 (patch)
tree004130ac471247a29d3f6adfbfe61c474e725779 /include
parent8f4d37ec073c17e2d4aa8851df5837d798606d6f (diff)
sched: rt time limit
Very simple time limit on the realtime scheduling classes. Allow the rq's realtime class to consume sched_rt_ratio of every sched_rt_period slice. If the class exceeds this quota the fair class will preempt the realtime class. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 43e0339d65fc..d5ea144df836 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1490,6 +1490,8 @@ extern unsigned int sysctl_sched_child_runs_first;
1490extern unsigned int sysctl_sched_features; 1490extern unsigned int sysctl_sched_features;
1491extern unsigned int sysctl_sched_migration_cost; 1491extern unsigned int sysctl_sched_migration_cost;
1492extern unsigned int sysctl_sched_nr_migrate; 1492extern unsigned int sysctl_sched_nr_migrate;
1493extern unsigned int sysctl_sched_rt_period;
1494extern unsigned int sysctl_sched_rt_ratio;
1493#if defined(CONFIG_FAIR_GROUP_SCHED) && defined(CONFIG_SMP) 1495#if defined(CONFIG_FAIR_GROUP_SCHED) && defined(CONFIG_SMP)
1494extern unsigned int sysctl_sched_min_bal_int_shares; 1496extern unsigned int sysctl_sched_min_bal_int_shares;
1495extern unsigned int sysctl_sched_max_bal_int_shares; 1497extern unsigned int sysctl_sched_max_bal_int_shares;