[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200124172803.GA18688@redsun51.ssa.fujisawa.hgst.com>
Date: Sat, 25 Jan 2020 02:28:03 +0900
From: Keith Busch <kbusch@...nel.org>
To: Amol Grover <frextrite@...il.com>
Cc: Christoph Hellwig <hch@....de>, Sagi Grimberg <sagi@...mberg.me>,
Chaitanya Kulkarni <chaitanya.kulkarni@....com>,
linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
Joel Fernandes <joel@...lfernandes.org>,
Madhuparna Bhowmik <madhuparnabhowmik04@...il.com>,
"Paul E . McKenney" <paulmck@...nel.org>,
kbuild test robot <lkp@...el.com>
Subject: Re: [PATCH v3] drivers: nvme: target: core: Pass lockdep expression
to RCU lists
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
> respectively.
>
> 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@...el.com>
> Reviewed-by: Joel Fernandes (Google) <joel@...lfernandes.org>
> Signed-off-by: Amol Grover <frextrite@...il.com>
Thanks, added for-5.6.
Powered by blists - more mailing lists