[PATCH v3 0/7] locking/rtmutex: Avoid PI state recursion through sched_submit_work()

Sebastian Andrzej Siewior posted 7 patches 2 years, 3 months ago
[PATCH v3 0/7] locking/rtmutex: Avoid PI state recursion through sched_submit_work()
Posted by Sebastian Andrzej Siewior 2 years, 3 months ago
Hi!

this is the third iteration of the patch series that PeterZ sent.

PeterZ v1: https://lore.kernel.org/all/20230815110121.117752409@infradead.org/
My v2: https://lore.kernel.org/all/20230825181033.504534-1-bigeasy@linutronix.de/
It contains a range-diff what changed, in brief:
- + include linux/sched/rt.h to get compiled
- rt_mutex_pre_schedule()/post() for rwbase_write_lock().

Now the v3:
- Sultan Alsawaf reported a deadlock in write_lock(). A brown paper back
  later, I replaced rt_mutex_pre_schedule()/post() with
  rwbase_pre_schedule() in rwbase_write_lock().

- The reported futex splat in v2 has been addressed with a trylock. This
  is 7/7.

Sebastian