Skip to content

Commit c5ecffe

Browse files
committed
Merge tag 'sched-urgent-2023-10-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fix from Ingo Molnar: "Fix a RT tasks related lockup/live-lock during CPU offlining" * tag 'sched-urgent-2023-10-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/rt: Fix live lock between select_fallback_rq() and RT push
2 parents 3a38c57 + fc09027 commit c5ecffe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/sched/cpupri.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ static inline int __cpupri_find(struct cpupri *cp, struct task_struct *p,
101101

102102
if (lowest_mask) {
103103
cpumask_and(lowest_mask, &p->cpus_mask, vec->mask);
104+
cpumask_and(lowest_mask, lowest_mask, cpu_active_mask);
104105

105106
/*
106107
* We have to ensure that we have at least one bit

0 commit comments

Comments
 (0)