[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1580337836.git.jbi.octave@gmail.com>
Date: Thu, 30 Jan 2020 00:28:29 +0000
From: Jules Irenge <jbi.octave@...il.com>
To: boqun.feng@...il.com
Cc: viro@...iv.linux.org.uk, linux-kernel@...r.kernel.org,
joel@...lfernandes.org, jiangshanlai@...il.com,
mathieu.desnoyers@...icios.com, rostedt@...dmis.org,
josh@...htriplett.org, paulmck@...nel.org,
Jules Irenge <jbi.octave@...il.com>
Subject: [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(-)
--
2.24.1
Powered by blists - more mailing lists