Messages in this thread Patch in this message | | | Date | Sun, 1 Oct 2023 10:43:05 +0200 | From | Ingo Molnar <> | Subject | [GIT PULL] scheduler fix |
| |
Linus,
Please pull the latest sched/urgent git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-2023-10-01
# HEAD: fc09027786c900368de98d03d40af058bcb01ad9 sched/rt: Fix live lock between select_fallback_rq() and RT push
Fix a RT tasks related lockup/live-lock during CPU offlining.
Thanks,
Ingo
------------------> Joel Fernandes (Google) (1): sched/rt: Fix live lock between select_fallback_rq() and RT push
kernel/sched/cpupri.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/kernel/sched/cpupri.c b/kernel/sched/cpupri.c index a286e726eb4b..42c40cfdf836 100644 --- a/kernel/sched/cpupri.c +++ b/kernel/sched/cpupri.c @@ -101,6 +101,7 @@ static inline int __cpupri_find(struct cpupri *cp, struct task_struct *p, if (lowest_mask) { cpumask_and(lowest_mask, &p->cpus_mask, vec->mask); + cpumask_and(lowest_mask, lowest_mask, cpu_active_mask); /* * We have to ensure that we have at least one bit
| |