diff options
| author | Srivatsa Vaddagiri <vatsa@codeaurora.org> | 2014-08-14 22:01:57 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:00:48 -0700 |
| commit | c9d0953c31f18744f29044f041e87033d044b0d7 (patch) | |
| tree | 84b1666dced99f417f99bf16f97741de22c09b44 /include | |
| parent | 53eb9ad023f82e121e4fe79ffc68f02e5511e233 (diff) | |
sched: improve logic for alerting governor
Currently we send notification to governor not taking note of cpus
that are synchronized with regard to their frequency. As a result,
scheduler could send pointless notifications (notification spam!).
Avoid this by considering synchronized cpus and alerting governor only
when the highest demand of any cpu within cluster far exceeds or falls
behind current frequency.
Change-Id: I74908b5a212404ca56b38eb94548f9b1fbcca33d
Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/sched/sysctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched/sysctl.h b/include/linux/sched/sysctl.h index fb51198716fa..411812931a26 100644 --- a/include/linux/sched/sysctl.h +++ b/include/linux/sched/sysctl.h @@ -45,6 +45,7 @@ extern unsigned int sysctl_sched_window_stats_policy; extern unsigned int sysctl_sched_account_wait_time; extern unsigned int sysctl_sched_ravg_hist_size; extern unsigned int sysctl_sched_freq_legacy_mode; +extern unsigned int sysctl_sched_gov_response_time; #if defined(CONFIG_SCHED_FREQ_INPUT) || defined(CONFIG_SCHED_HMP) extern unsigned int sysctl_sched_init_task_load_pct; |
