aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched/sysctl.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2013-12-17 06:44:49 -0500
committerIngo Molnar <mingo@kernel.org>2014-01-13 07:47:23 -0500
commit1724813d9f2c7ff702b46d3e4a4f6d9b10a8f8c2 (patch)
tree6df01bd6de3641b7f62440e22cf1ac8020b82ce5 /include/linux/sched/sysctl.h
parente4099a5e929435cd6349343f002583f29868c900 (diff)
sched/deadline: Remove the sysctl_sched_dl knobs
Remove the deadline specific sysctls for now. The problem with them is that the interaction with the exisiting rt knobs is nearly impossible to get right. The current (as per before this patch) situation is that the rt and dl bandwidth is completely separate and we enforce rt+dl < 100%. This is undesirable because this means that the rt default of 95% leaves us hardly any room, even though dl tasks are saver than rt tasks. Another proposed solution was (a discarted patch) to have the dl bandwidth be a fraction of the rt bandwidth. This is highly confusing imo. Furthermore neither proposal is consistent with the situation we actually want; which is rt tasks ran from a dl server. In which case the rt bandwidth is a direct subset of dl. So whichever way we go, the introduction of dl controls at this point is painful. Therefore remove them and instead share the rt budget. This means that for now the rt knobs are used for dl admission control and the dl runtime is accounted against the rt runtime. I realise that this isn't entirely desirable either; but whatever we do we appear to need to change the interface later, so better have a small interface for now. Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/n/tip-zpyqbqds1r0vyxtxza1e7rdc@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sched/sysctl.h')
-rw-r--r--include/linux/sched/sysctl.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/sched/sysctl.h b/include/linux/sched/sysctl.h
index 8070a83dbedc..31e0193cb0c5 100644
--- a/include/linux/sched/sysctl.h
+++ b/include/linux/sched/sysctl.h
@@ -81,15 +81,6 @@ static inline unsigned int get_sysctl_timer_migration(void)
81extern unsigned int sysctl_sched_rt_period; 81extern unsigned int sysctl_sched_rt_period;
82extern int sysctl_sched_rt_runtime; 82extern int sysctl_sched_rt_runtime;
83 83
84/*
85 * control SCHED_DEADLINE reservations:
86 *
87 * /proc/sys/kernel/sched_dl_period_us
88 * /proc/sys/kernel/sched_dl_runtime_us
89 */
90extern unsigned int sysctl_sched_dl_period;
91extern int sysctl_sched_dl_runtime;
92
93#ifdef CONFIG_CFS_BANDWIDTH 84#ifdef CONFIG_CFS_BANDWIDTH
94extern unsigned int sysctl_sched_cfs_bandwidth_slice; 85extern unsigned int sysctl_sched_cfs_bandwidth_slice;
95#endif 86#endif
@@ -108,8 +99,4 @@ extern int sched_rt_handler(struct ctl_table *table, int write,
108 void __user *buffer, size_t *lenp, 99 void __user *buffer, size_t *lenp,
109 loff_t *ppos); 100 loff_t *ppos);
110 101
111int sched_dl_handler(struct ctl_table *table, int write,
112 void __user *buffer, size_t *lenp,
113 loff_t *ppos);
114
115#endif /* _SCHED_SYSCTL_H */ 102#endif /* _SCHED_SYSCTL_H */