diff options
| author | Steve Muckle <smuckle@codeaurora.org> | 2014-08-11 15:10:45 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:00:21 -0700 |
| commit | 6ed9cab72392f77fab1a533153e9aa9bb857ed7a (patch) | |
| tree | 68e3a8d83cb786f684764c650818277327f23c2a /kernel | |
| parent | ecae24dd9267323fc0dcc2ed8e8554cef7d0cc7c (diff) | |
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>
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/sched/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index e6fe5e28aa96..d0f67c1bd21e 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1204,8 +1204,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; /* |
