summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorMadhuparna Bhowmik <madhuparnabhowmik10@gmail.com>2020-07-12 16:10:03 +0300
committerPaul E. McKenney <paulmck@kernel.org>2020-08-25 04:36:23 +0300
commitdf9a30fd1f70a757df193acd7396622eee23e527 (patch)
tree01430941a1caf102c13e3aa3d8ccffa0c9808446 /scripts/gdb/linux/proc.py
parentae2212a7216b674633bdc3bd2e24947a0665efb8 (diff)
downloadlinux-df9a30fd1f70a757df193acd7396622eee23e527.tar.xz
kvm: mmu: page_track: Fix RCU list API usage
Use hlist_for_each_entry_srcu() instead of hlist_for_each_entry_rcu() as it also checkes if the right lock is held. Using hlist_for_each_entry_rcu() with a condition argument will not report the cases where a SRCU protected list is traversed using rcu_read_lock(). Hence, use hlist_for_each_entry_srcu(). Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Cc: <kvm@vger.kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions