From 476ea8d45d158e099622ed6633e7dfabbcf56e53 Mon Sep 17 00:00:00 2001 From: Steve Muckle Date: Thu, 12 Jun 2014 12:14:15 -0700 Subject: 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 --- include/linux/sched/sysctl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/linux') 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; -- cgit v1.2.3