Skip to content

mutex: Modifications to mutex

Jason Low lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v24 patches 5 repliesSuperseded
  3. v1 RFC3 patches 20 repliesSuperseded

Changes in v3 from the cover letter

- Merge patches 2 and 3 from the v2 patchset into one patch as suggested.
- Update Reviewed-by/Acked-by

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mutex: Correct documentation on mutex optimistic spinningkernel/locking/mutex.c+4 -60 replies
2/3mutex: Try-acquire mutex only if unlocked and improve code claritykernel/locking/mutex.c+10 -110 replies
3/3mutex: Optimize mutex trylock slowpathkernel/locking/mutex.c+4 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchWaiman LongDavidlohr Bueso
1/3A-b
2/3A-b A-b
3/3R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] mutex: Modifications to mutex

v2->v3:
- Merge patches 2 and 3 from the v2 patchset into one patch as suggested.
- Update Reviewed-by/Acked-by

v1->v2:
- Remove the MUTEX_SHOW_NO_WAITER() macro.
- Use !mutex_is_locked() instead of introducing a new MUTEX_IS_UNLOCKED() macro.
- Add more information to the changelog of the "Optimize mutex trylock slowpath" patch.

This patchset contains documentation fixes, optimizations, and improvements to code clarity for mutex.

Jason Low (3):
mutex: Correct documentation on mutex optimistic spinning
mutex: Try-acquire mutex only if unlocked and improve code clarity
mutex: Optimize mutex trylock slowpath

 kernel/locking/mutex.c |   35 ++++++++++++++++++-----------------
 1 files changed, 18 insertions(+), 17 deletions(-)