summaryrefslogtreecommitdiffstats
path: root/kernel/rcu
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-11-17 19:12:27 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-01-11 04:07:46 +0100
commit79619cf5151257f82a4c016b02283e2ceb4b63ce (patch)
tree15fc277aa25ea7efdad0269e27f75ddbfb06a361 /kernel/rcu
parentrcu: Make rcu_nmi_enter() handle nesting (diff)
downloadlinux-79619cf5151257f82a4c016b02283e2ceb4b63ce.tar.xz
linux-79619cf5151257f82a4c016b02283e2ceb4b63ce.zip
rcutorture: Issue warnings on close calls due to Reader Batch blows
Normal rcutorture checking overestimates grace periods somewhat due to the fact that there is a delay from a grace-period request until the start of the corresponding grace period and another delay from the end of that grace period to notification of the requestor. This means that rcutorture's detection of RCU bugs is less sensitive than it might be. It turns out that rcutorture also checks the underlying grace-period "completed" counter (displayed in Reader Batch output), which in theory allows rcutorture to do exact checks. In practice, memory misordering (by both compiler and CPU) can result in false positives. However, experience on x86 shows that these false positives are quite rare, occurring less than one time per 1,000 hours of testing. This commit therefore does the exact checking, giving a warning if any Reader Batch blows happen, and flagging an error if they happen more often than once every three hours in long tests. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu')
0 files changed, 0 insertions, 0 deletions