Skip to content

PI vs SCHED_DEADLINE fixes

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8rtmutex: Deboost before waking up the top waiterkernel/futex.c kernel/locking/rtmutex.c kernel/locking/rtmutex_common.h+34 -322 replies
2/8sched/rtmutex/deadline: Fix a PI crash for deadline tasksinclude/linux/init_task.h include/linux/sched.h include/linux/sched/rt.h +3 more+28 -80 replies
3/8sched/deadline/rtmutex: Dont miss the dl_runtime/dl_period updatekernel/locking/rtmutex.c+1 -10 replies
4/8rtmutex: Clean upkernel/futex.c kernel/locking/rtmutex.c kernel/locking/rtmutex_common.h+18 -191 reply
5/8sched/rtmutex: Refactor rt_mutex_setprio()include/linux/sched/rt.h kernel/locking/rtmutex.c kernel/sched/core.c+91 -1110 replies
6/8sched,tracing: Update trace_sched_pi_setprio()include/trace/events/sched.h kernel/sched/core.c+10 -80 replies
7/8rtmutex: Fix PI chain order integritykernel/locking/rtmutex.c kernel/locking/rtmutex_common.h+28 -20 replies
8/8rtmutex: Fix more prio comparisonskernel/locking/rtmutex.c+29 -30 replies

Reviews trailers per patch

6 of 8 patches have a Reviewed-by or Acked-by.

PatchSteven RostedtThomas GleixnerJuri Lelli
1/8A-b
2/8A-b R-b
3/8A-b R-b
4/8A-b
5/8
6/8R-b
7/8
8/8R-b Reviewed-and-tested-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH -v3 0/8] PI vs SCHED_DEADLINE fixes

Now that this pesky little problem with futexes is (hopefully) dealt with;

https://lkml.kernel.org/r/[email protected]

We can get on with fixing the actual bug this all started out with.

These patches, started by Xunlei Pang, rework the PI infrastructure a bit fixing various problems it has, most notable a NULL deref in SCHED_DEADLINE.

Once this is sorted; we can look at improving the tracing thing (Daniel Bristot and Julien Desfossez were working on that) and have a better foundation to look at bandwidth inheritance (Juri and co.).