Revert "ANDROID: sched/rt: cpu_active_mask intersection"

This reverts commit b05fe6b580.

CPU Pause causes major merge conflicts with the 5.11 scheduler changes
(migrate-disable specifically), so lets revert Pause temporarily as it
is not needed urgently in android-mainline.

Signed-off-by: Quentin Perret <qperret@google.com>
Change-Id: Ib6b8b3a803fe4035acd0d70fbf448280e4e930cb
This commit is contained in:
Quentin Perret
2020-12-15 17:55:55 +00:00
parent 33f7ae250c
commit e560954645
-1
View File
@@ -99,7 +99,6 @@ static inline int __cpupri_find(struct cpupri *cp, struct task_struct *p,
if (lowest_mask) {
cpumask_and(lowest_mask, p->cpus_ptr, vec->mask);
cpumask_and(lowest_mask, lowest_mask, cpu_active_mask);
#ifdef CONFIG_RT_SOFTINT_OPTIMIZATION
if (drop_nopreempts)