summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-07-01 16:38:16 -0700
committerPaul E. McKenney <paulmck@kernel.org>2020-08-24 18:38:36 -0700
commitee7035d29576dcb59b1191e5f609517cacab1e56 (patch)
tree72cd20ebd862dd36da3d5a565c5ef14897d75848 /lib/mpi/mpiutil.c
parentdbf83b655a7853bc430af10e9a3e7eb1f4c90f86 (diff)
scftorture: Prevent compiler from reducing race probabilities
Detecting smp_call_function() memory misordering requires close timing, so it is necessary to have the checks immediately before and after the call to the smp_call_function*() function under test. This commit therefore inserts barrier() calls to prevent the compiler from optimizing memory-misordering detection down into the zone of extreme improbability. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions