summaryrefslogtreecommitdiffstats
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-11-22 00:01:02 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-12-11 18:18:29 +0100
commit4ced3314fd3a73dabac4e8a41747883eff36c3e8 (patch)
treeaba2f62defd17a44cb3a0b6b7c8effa98ce5c7cd /.get_maintainer.ignore
parentlocking/locktorture: Fix num reader/writer corner cases (diff)
downloadlinux-4ced3314fd3a73dabac4e8a41747883eff36c3e8.tar.xz
linux-4ced3314fd3a73dabac4e8a41747883eff36c3e8.zip
torture: Make stutter less vulnerable to compilers and races
The stutter_wait() function repeatedly fetched stutter_pause_test, and should really just fetch it once on each pass. The races should be harmless, but why have the races? Also, the whole point of the value "2" for stutter_pause_test is to get everyone to start at very nearly the same time, but the value "2" was the first jiffy of the stutter rather than the last jiffy of the stutter. This commit rearranges the code to be more sensible. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions