Skip to content

Commit 19dba4f

Browse files
committed
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fix from Ingo Molnar: "A single sched/rt corner case fix for RLIMIT_RTIME correctness" * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched: Fix RLIMIT_RTTIME when PI-boosting to RT
2 parents ee9b63d + 746db94 commit 19dba4f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/sched/core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3034,6 +3034,8 @@ void rt_mutex_setprio(struct task_struct *p, int prio)
30343034
} else {
30353035
if (dl_prio(oldprio))
30363036
p->dl.dl_boosted = 0;
3037+
if (rt_prio(oldprio))
3038+
p->rt.timeout = 0;
30373039
p->sched_class = &fair_sched_class;
30383040
}
30393041

0 commit comments

Comments
 (0)