Skip to content

Lock warning clean up

Jules Irenge lkml rcu 1 version Applied

Status from this message: Applied, thank you both!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2fs_pin: Add missing annotation to pin_kill() declarationinclude/linux/fs_pin.h+1 -10 replies
2/2rcu/nocb: Add missing annotation for rcu_nocb_bypass_unlock()kernel/rcu/tree_plugin.h+1 -02 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchBoqun Feng
1/2
2/2A-b

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

Read the v1 thread

Cover letter [PATCH 0/2] Lock warning clean up

This patch series adds missing annotations to functions that register warnings of context imbalance when built with Sparse tool. The adds fix these warnings and give insight on what the functions are actually doing.
In the core kernel,
1. RCU: a __releases() annotation is added as the functin exit trhe
critical section
2. acct: Multiple warnings were reported, adding __releases(RCU) to the
fs_pin header file function declaration location clears these warnings
as the function releases RCU lock at exit.
Jules Irenge (2):
fs_pin: Add missing annotation to pin_kill() declaration
rcu/nocb: Add missing annotation for rcu_nocb_bypass_unlock()

 include/linux/fs_pin.h   | 2 +-
 kernel/rcu/tree_plugin.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.24.1