Skip to content

Lock warning cleanup

Jules Irenge lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3time: Add missing annotation to lock_hrtimer_base()kernel/time/hrtimer.c+1 -02 replies
2/3futex: Add missing annotation for wake_futex_pi()kernel/futex.c+1 -00 replies
3/3mutex: Add missing annotationsinclude/linux/mutex.h+2 -22 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Lock warning cleanup

1. TIME subsytem : patch 1, an __acquires(timer) annotation is added. as the function despite having a nested lock the outer one allows entry to critical section only.
2. Within futex.c file or path 2, a __releases() annotation is added. as the function releases the lock at exit.
3. MUTEX subsystem : patch 3, __acquires(lock) and __releases(lock) are added to mutex_lock() and mutex_unlock() to fix issues raised in other files.

Jules Irenge (3):
time: Add missing annotation to lock_hrtimer_base()
futex: Add missing annotation for wake_futex_pi()
mutex: Add missing annotations

 include/linux/mutex.h | 4 ++--
 kernel/futex.c        | 1 +
 kernel/time/hrtimer.c | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)
Signature · 1 line
2.24.1