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

Commit 3c67f73f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cpuidle: Wakeup only cpus for which qos has changed."

parents da588d9e 51616fd9
Loading
Loading
Loading
Loading
+8 −1
Original line number Original line Diff line number Diff line
@@ -549,7 +549,14 @@ static void smp_callback(void *v)
static int cpuidle_latency_notify(struct notifier_block *b,
static int cpuidle_latency_notify(struct notifier_block *b,
		unsigned long l, void *v)
		unsigned long l, void *v)
{
{
	smp_call_function(smp_callback, NULL, 1);
	const struct cpumask *cpus;

	cpus = v ?: cpu_online_mask;

	preempt_disable();
	smp_call_function_many(cpus, smp_callback, NULL, 1);
	preempt_enable();

	return NOTIFY_OK;
	return NOTIFY_OK;
}
}