diff options
author | 2020-07-01 12:30:02 -0700 | |
---|---|---|
committer | 2020-08-24 18:38:34 -0700 | |
commit | 980205ee8489d53c4380f7762debac87312b0fb3 (patch) | |
tree | 5788b2b43ca6e0a9fb7a5ece6dcd197bd8319990 /drivers/usb/cdns3/cdns3-debug.h | |
parent | scftorture: Add smp_call_function_single() memory-ordering checks (diff) | |
download | wireguard-linux-980205ee8489d53c4380f7762debac87312b0fb3.tar.xz wireguard-linux-980205ee8489d53c4380f7762debac87312b0fb3.zip |
scftorture: Add smp_call_function_many() memory-ordering checks
This commit adds checks for memory misordering across calls to and
returns from smp_call_function_many() in the case where the caller waits.
Misordering results in a splat.
Note that in contrast to smp_call_function_single(), this code does not
test memory ordering into the handler in the no-wait case because none
of the handlers would be able to free the scf_check structure without
introducing heavy synchronization to work out which was last.
[ paulmck: s/GFP_KERNEL/GFP_ATOMIC/ per kernel test robot feedback. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions