]> git.karo-electronics.de Git - karo-tx-linux.git/commit
srcu: Fix rcutorture-statistics typo
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 15 May 2017 00:06:30 +0000 (17:06 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 9 Jun 2017 01:52:42 +0000 (18:52 -0700)
commit7f0cd6333086ae09962791c31f0d4845a3329df9
tree3d656fe15a161954796c838a0a25c11c55d5147c
parent41a2901e7d220875752a8c870e0b53288a578c20
srcu: Fix rcutorture-statistics typo

The function srcutorture_get_gp_data() duplicated the check for
sp->batch_check0.head instead of also checking sp->batch_check1.head.
The only effect of this typo would be for rcutorture statistics to
understate the fraction of time that an SRCU grace period was in flight,
and only for Classic SRCU.  This commit fixes this typo.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/rcu.h