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

Commit da896336 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched:/fair: check cpu_allowed mask when find target"

parents b15945be 94751453
Loading
Loading
Loading
Loading

kernel/sched/fair.c

100755 → 100644
+3 −0
Original line number Diff line number Diff line
@@ -6594,6 +6594,9 @@ static void walt_find_best_target(struct sched_domain *sd, cpumask_t *cpus,
			long spare_cap;
			int idle_idx = INT_MAX;

			if (!cpumask_test_cpu(i, &p->cpus_mask))
				continue;

			trace_sched_cpu_util(i);

			if (!cpu_active(i) || cpu_isolated(i))