diff options
author | 2020-07-01 16:38:16 -0700 | |
---|---|---|
committer | 2020-08-24 18:38:36 -0700 | |
commit | ee7035d29576dcb59b1191e5f609517cacab1e56 (patch) | |
tree | 72cd20ebd862dd36da3d5a565c5ef14897d75848 /drivers/usb/cdns3/cdns3-imx.c | |
parent | scftorture: Flag errors in torture-compatible manner (diff) | |
download | linux-dev-ee7035d29576dcb59b1191e5f609517cacab1e56.tar.xz linux-dev-ee7035d29576dcb59b1191e5f609517cacab1e56.zip |
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 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions