sched: disable frequency notifications by default

The frequency notifications from the scheduler do not currently respect
synchronous topologies. If demand on CPU 0 is driving frequency high and
CPU 1 is in the same frequency domain, and demand on CPU 1 is low,
frequency notifiers will be continuously sent by CPU 1 in an attempt to
have its frequency lowered.

Until the notifiers are fixed, disable them by default. They can still
be re-enabled at runtime.

Change-Id: Ic8a927af2236d8fe83b4f4a633b20a8ddcfba359
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
This commit is contained in:
Steve Muckle 2014-08-11 15:10:45 -07:00
parent 7ebd479ae3
commit 0a0adbb0b1

View file

@ -1145,8 +1145,8 @@ unsigned int __read_mostly sched_use_pelt;
unsigned int max_possible_efficiency = 1024;
unsigned int min_possible_efficiency = 1024;
__read_mostly int sysctl_sched_freq_inc_notify_slack_pct;
__read_mostly int sysctl_sched_freq_dec_notify_slack_pct = 25;
__read_mostly int sysctl_sched_freq_inc_notify_slack_pct = -INT_MAX;
__read_mostly int sysctl_sched_freq_dec_notify_slack_pct = INT_MAX;
static __read_mostly unsigned int sched_account_wait_time = 1;
/*