summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSrivatsa Vaddagiri <vatsa@codeaurora.org>2014-09-22 17:19:17 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:00:51 -0700
commitc12a2b5ab9163585020f5cb81d2a0276275ce111 (patch)
tree8a9188baaab7f350817b16a4323d3ffa4ce8ec8b /include/linux
parent3a67b4ce87bf96312d4c5728047d830a66258854 (diff)
sched: Use absolute scale for notifying governor
Make the tunables used for deciding the need for notification to be on absolute scale. The earlier scale (in percent terms relative to cur_freq) does not work well with available range of frequencies. For example, 100% tunable value would work well for lower range of frequencies and not for higher range. Having the tunable to be on absolute scale makes tuning more realistic. Change-Id: I35a8c4e2f2e9da57f4ca4462072276d06ad386f1 Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sched/sysctl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sched/sysctl.h b/include/linux/sched/sysctl.h
index a87dec5a4e10..04e153610c9f 100644
--- a/include/linux/sched/sysctl.h
+++ b/include/linux/sched/sysctl.h
@@ -54,8 +54,8 @@ extern unsigned int sysctl_sched_init_task_load_pct;
#endif
#ifdef CONFIG_SCHED_FREQ_INPUT
-extern int sysctl_sched_freq_inc_notify_slack_pct;
-extern int sysctl_sched_freq_dec_notify_slack_pct;
+extern int sysctl_sched_freq_inc_notify;
+extern int sysctl_sched_freq_dec_notify;
#endif
#ifdef CONFIG_SCHED_HMP