diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-01-25 15:08:29 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-25 15:08:29 -0500 |
commit | fa85ae2418e6843953107cd6a06f645752829bc0 (patch) | |
tree | 004130ac471247a29d3f6adfbfe61c474e725779 /include/linux/sched.h | |
parent | 8f4d37ec073c17e2d4aa8851df5837d798606d6f (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/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 2 |
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; | |||
1490 | extern unsigned int sysctl_sched_features; | 1490 | extern unsigned int sysctl_sched_features; |
1491 | extern unsigned int sysctl_sched_migration_cost; | 1491 | extern unsigned int sysctl_sched_migration_cost; |
1492 | extern unsigned int sysctl_sched_nr_migrate; | 1492 | extern unsigned int sysctl_sched_nr_migrate; |
1493 | extern unsigned int sysctl_sched_rt_period; | ||
1494 | extern 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) |
1494 | extern unsigned int sysctl_sched_min_bal_int_shares; | 1496 | extern unsigned int sysctl_sched_min_bal_int_shares; |
1495 | extern unsigned int sysctl_sched_max_bal_int_shares; | 1497 | extern unsigned int sysctl_sched_max_bal_int_shares; |