Re: [Openipmi-developer] Suspicious RCU usage in ipmi code
Brought to you by:
cminyard
|
From: Corey M. <mi...@ac...> - 2019-12-04 20:42:49
|
On Wed, Dec 04, 2019 at 12:14:30PM -0800, Paul E. McKenney wrote: > On Wed, Dec 04, 2019 at 05:19:11PM +0000, John Garry wrote: > If you are using srcu_read_lock() and srcu_read_lock(), then you can > use srcu_dereference_check() to tell lockdep what you are up to. > There are a couple of examples in include/linux/kvm_host.h. > > Thanx, Paul Thanks Paul, I assume that if you use srcu_read_lock(), you using list_for_each_entry_rcu() inside the lock section is fine, right? John, I was unable to reproduce. Can you send me your kernel config and the git commit you are on? -corey |