Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a0adbb0 authored by Steve Muckle's avatar Steve Muckle
Browse files

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: default avatarSteve Muckle <smuckle@codeaurora.org>
parent 7ebd479a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
/*