Skip to content

rtmutex: Code clarification and optimization

Thomas Gleixner lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest10 patches 15 repliesIn review
  2. v37 patches 32 repliesSuperseded
  3. v25 patches 9 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10rtmutex: Plug slow unlock racekernel/locking/rtmutex.c+112 -61 reply
2/10rtmutex: Simplify rtmutex_slowtrylock()kernel/locking/rtmutex.c+21 -112 replies
3/10rtmutex: Simplify and document try_to_take_rtmutex()kernel/locking/rtmutex.c+87 -441 reply
4/10rtmutex: No need to keep task ref for lock owner checkkernel/locking/rtmutex.c+3 -21 reply
5/10rtmutex: Clarify the boost/deboost partkernel/locking/rtmutex.c+48 -101 reply
6/10rtmutex: Document pi chain walkkernel/locking/rtmutex.c+91 -91 reply
7/10rtmutex: Simplify remove_waiter()kernel/locking/rtmutex.c+19 -171 reply
8/10rtmutex: Confine deadlock logic to futexinclude/linux/rtmutex.h kernel/futex.c kernel/locking/rtmutex.c +1 more+40 -421 reply
9/10rtmutex: Cleanup deadlock detector debug logickernel/locking/rtmutex-debug.c kernel/locking/rtmutex-debug.h kernel/locking/rtmutex.c +2 more+76 -282 replies
10/10rtmutex: Avoid pointless requeueing in the deadlock detection chain walkkernel/locking/rtmutex.c+70 -72 replies

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by.

PatchSteven RostedtLai Jiangshan
1/10R-b
2/10R-b R-b
3/10R-b
4/10R-b
5/10Already-reviewed-by
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [patch V4 00/10] rtmutex: Code clarification and optimization

Hopefully the last iteration of this.

I addressed all the review comments and added the following new ones:

1/n: plug unlock race.

Patch was separately posted already in the safety of *mutex_unlock() thread.

2/n: Document and simplify the trylock path

3/n: Document and simplify try_to_take_rtmutex()

Thanks,

tglx