cpuidle: Don't check if a CPU is isolated

Those never get applied here.

Change-Id: Iac3f7e3a5757c0c60b115bf4a7f6dea1dc988335
Signed-off-by: Kazuki Hashimoto <kazukih@tuta.io>
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
Kazuki Hashimoto 2022-11-23 20:45:21 +09:00 committed by Richard Raya
parent dad611bcaf
commit 860887a444

View File

@ -675,8 +675,6 @@ static int cpuidle_latency_notify(struct notifier_block *b,
{
unsigned long cpus = atomic_read(&idled) & *cpumask_bits(to_cpumask(v));
/* Use READ_ONCE to get the isolated mask outside cpu_add_remove_lock */
cpus &= ~READ_ONCE(*cpumask_bits(cpu_isolated_mask));
if (cpus)
smp_send_ipi(to_cpumask(&cpus));