summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-07-02 02:38:16 +0300
committerPaul E. McKenney <paulmck@kernel.org>2020-08-25 04:38:36 +0300
commitee7035d29576dcb59b1191e5f609517cacab1e56 (patch)
tree72cd20ebd862dd36da3d5a565c5ef14897d75848 /lib/debugobjects.c
parentdbf83b655a7853bc430af10e9a3e7eb1f4c90f86 (diff)
downloadlinux-ee7035d29576dcb59b1191e5f609517cacab1e56.tar.xz
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/debugobjects.c')
0 files changed, 0 insertions, 0 deletions