aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2008-04-19 13:44:57 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-19 13:44:57 -0400
commitd0b27fa77854b149ad4af08b0fe47fe712a47ade (patch)
tree2f4487c108a5132e8d52456567b4a67e78fbb4a6 /include
parent57d3da2911787a101a384532f4519f9640bae883 (diff)
sched: rt-group: synchonised bandwidth period
Various SMP balancing algorithms require that the bandwidth period run in sync. Possible improvements are moving the rt_bandwidth thing into root_domain and keeping a span per rt_bandwidth which marks throttled cpus. 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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 15f05ff453d8..be5d31752dbd 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1563,6 +1563,10 @@ int sched_nr_latency_handler(struct ctl_table *table, int write,
1563extern unsigned int sysctl_sched_rt_period; 1563extern unsigned int sysctl_sched_rt_period;
1564extern int sysctl_sched_rt_runtime; 1564extern int sysctl_sched_rt_runtime;
1565 1565
1566int sched_rt_handler(struct ctl_table *table, int write,
1567 struct file *filp, void __user *buffer, size_t *lenp,
1568 loff_t *ppos);
1569
1566extern unsigned int sysctl_sched_compat_yield; 1570extern unsigned int sysctl_sched_compat_yield;
1567 1571
1568#ifdef CONFIG_RT_MUTEXES 1572#ifdef CONFIG_RT_MUTEXES
@@ -2052,6 +2056,9 @@ extern unsigned long sched_group_shares(struct task_group *tg);
2052extern int sched_group_set_rt_runtime(struct task_group *tg, 2056extern int sched_group_set_rt_runtime(struct task_group *tg,
2053 long rt_runtime_us); 2057 long rt_runtime_us);
2054extern long sched_group_rt_runtime(struct task_group *tg); 2058extern long sched_group_rt_runtime(struct task_group *tg);
2059extern int sched_group_set_rt_period(struct task_group *tg,
2060 long rt_period_us);
2061extern long sched_group_rt_period(struct task_group *tg);
2055#endif 2062#endif
2056#endif 2063#endif
2057 2064