Skip to contentSkip to conversation

Lock warning clean up

PATCH New Jules Irenge 1 participant 1 message Jan 27, 2020

lore
Share & tools
lore
#0 lore raw

v2 cover Lock warning clean up

Jules Irenge (2):
hrtimer subsystem: in patch 1, an __acquires() annotation is added to lock_hrtimer_base()
as the function acquires but does not release the outer lock at the exit
futex subsystem: in patch 2, a __releases() annotation is added to wake_futex_pi()
as the function releases lock at exit.

 kernel/futex.c        | 3 ++-
 kernel/time/hrtimer.c | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)
Signature · 7 lines
Changes since v2
- improves on commit log 
- improves on patch title to designate subsystem where change is made
- drop leading '|' 
- ensure patch does not produce any extra warning.

2.24.1