summaryrefslogtreecommitdiff
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorSteve Muckle <smuckle@codeaurora.org>2014-11-30 16:26:55 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:01:11 -0700
commit588055e8c73e8ef0c8c23ab5db45453aa49be665 (patch)
tree3b3a776dc6201f599eb2614d64211192da5e13a8 /kernel/sysctl.c
parent6bde9f65b3cc676647e3d1b8285ab1e7b0d32763 (diff)
sched: make sched_cpu_high_irqload a runtime tunable
It may be desirable to be able to alter the scehd_cpu_high_irqload setting easily, so make it a runtime tunable value. Change-Id: I832030eec2aafa101f0f435a4fd2d401d447880d Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 2281f24194db..738b154269ea 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -345,6 +345,13 @@ static struct ctl_table kern_table[] = {
.proc_handler = sched_window_update_handler,
},
{
+ .procname = "sched_cpu_high_irqload",
+ .data = &sysctl_sched_cpu_high_irqload,
+ .maxlen = sizeof(unsigned int),
+ .mode = 0644,
+ .proc_handler = proc_dointvec,
+ },
+ {
.procname = "sched_ravg_hist_size",
.data = &sysctl_sched_ravg_hist_size,
.maxlen = sizeof(unsigned int),