diff options
Diffstat (limited to 'kernel/sched/cpufreq_schedutil.c')
| -rw-r--r-- | kernel/sched/cpufreq_schedutil.c | 8 | 
1 files changed, 3 insertions, 5 deletions
diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c index 322ca8860f54..9b8916fd00a2 100644 --- a/kernel/sched/cpufreq_schedutil.c +++ b/kernel/sched/cpufreq_schedutil.c @@ -82,12 +82,10 @@ static bool sugov_should_update_freq(struct sugov_policy *sg_policy, u64 time)  	 * by the hardware, as calculating the frequency is pointless if  	 * we cannot in fact act on it.  	 * -	 * For the slow switching platforms, the kthread is always scheduled on -	 * the right set of CPUs and any CPU can find the next frequency and -	 * schedule the kthread. +	 * This is needed on the slow switching platforms too to prevent CPUs +	 * going offline from leaving stale IRQ work items behind.  	 */ -	if (sg_policy->policy->fast_switch_enabled && -	    !cpufreq_this_cpu_can_update(sg_policy->policy)) +	if (!cpufreq_this_cpu_can_update(sg_policy->policy))  		return false;  	if (unlikely(sg_policy->limits_changed)) {  |