[Linux-kernel-mentees] [PATCH v3] drivers: nvme: target: core: Pass lockdep expression to RCU lists
kbusch at kernel.org
Fri Jan 24 17:28:03 UTC 2020
On Sat, Jan 11, 2020 at 01:08:16PM +0530, Amol Grover wrote:
> ctrl->subsys->namespaces and subsys->namespaces are traversed with
> list_for_each_entry_rcu outside an RCU read-side critical section
> but under the protection of ctrl->subsys->lock and subsys->lock
> Hence, add the corresponding lockdep expression to the list traversal
> primitive to silence false-positive lockdep warnings, and
> harden RCU lists.
> Reported-by: kbuild test robot <lkp at intel.com>
> Reviewed-by: Joel Fernandes (Google) <joel at joelfernandes.org>
> Signed-off-by: Amol Grover <frextrite at gmail.com>
Thanks, added for-5.6.
More information about the Linux-kernel-mentees