Home
last modified time | relevance | path

Searched hist:"4 ced3314fd3a73dabac4e8a41747883eff36c3e8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/
H A Dtorture.cdiff 4ced3314fd3a73dabac4e8a41747883eff36c3e8 Tue Nov 21 17:01:02 CST 2017 Paul E. McKenney <paulmck@linux.vnet.ibm.com> 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>