diff options
| author | Steve Muckle <smuckle@codeaurora.org> | 2014-06-12 12:14:15 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 19:59:32 -0700 |
| commit | 476ea8d45d158e099622ed6633e7dfabbcf56e53 (patch) | |
| tree | 0dd7fa8a98e4148b718cfce5d8e0f5faf41b39a8 /include/linux/sched/sysctl.h | |
| parent | a536cf8ac858ac8388272d98f9baf8e7ba25b646 (diff) | |
sched: notify cpufreq on over/underprovisioned CPUs
After a migration occurs the source and destination CPUs may
not be running at frequencies which match the new task load on
those CPUs.
Previously, the scheduler was notifying cpufreq anytime a task
greater than a certain size migrates. This is suboptimal however
since this does not take into account the CPU's current
frequency and other task activity that may be present.
Change-Id: I5092bda3a517e1343f97e5a455957c25ee19b549
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
Diffstat (limited to 'include/linux/sched/sysctl.h')
| -rw-r--r-- | include/linux/sched/sysctl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/sched/sysctl.h b/include/linux/sched/sysctl.h index 0a6047acb5d2..eaf153b35cfa 100644 --- a/include/linux/sched/sysctl.h +++ b/include/linux/sched/sysctl.h @@ -47,7 +47,10 @@ extern unsigned int sysctl_sched_window_stats_policy; extern unsigned int sysctl_sched_init_task_load_pct; #endif -extern unsigned int sysctl_sched_task_migrate_notify_pct; +#ifdef CONFIG_SCHED_FREQ_INPUT +extern int sysctl_sched_freq_inc_notify_slack_pct; +extern int sysctl_sched_freq_dec_notify_slack_pct; +#endif #ifdef CONFIG_SCHED_HMP extern unsigned int sysctl_sched_enable_hmp_task_placement; |
