summaryrefslogtreecommitdiff
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-12-20 23:45:19 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-20 23:45:19 -0800
commitdba91385de4b65fe8c69e557ba409b7c823dc46c (patch)
tree1bc5b0e8e51b15aa8df134fc7487b11052d2659e /kernel/sysctl.c
parent7d4b9fcecb56e0465101fe14f8154914f11c166d (diff)
parentf3e2e2863a2a7eaca13d6051cb36ca28f100a754 (diff)
Merge "sched: Avoid packing tasks with low sleep time"
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 ba69f4c96d7c..12ea4f09c04b 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -514,6 +514,13 @@ static struct ctl_table kern_table[] = {
.mode = 0644,
.proc_handler = proc_dointvec,
},
+ {
+ .procname = "sched_short_sleep_ns",
+ .data = &sysctl_sched_short_sleep,
+ .maxlen = sizeof(unsigned int),
+ .mode = 0644,
+ .proc_handler = proc_dointvec,
+ },
#endif /* CONFIG_SCHED_HMP */
#ifdef CONFIG_SCHED_DEBUG
{