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

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

Merge "sched/cpupri: Exclude isolated CPUs from the lowest_mask"

parents f7b598ad 95867cc8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -133,6 +133,8 @@ int cpupri_find(struct cpupri *cp, struct task_struct *p,

		if (lowest_mask) {
			cpumask_and(lowest_mask, tsk_cpus_allowed(p), vec->mask);
			cpumask_andnot(lowest_mask, lowest_mask,
				       cpu_isolated_mask);
			if (drop_nopreempts)
				drop_nopreempt_cpus(lowest_mask);
			/*