diff options
author | 2020-07-20 08:34:07 -0700 | |
---|---|---|
committer | 2020-08-24 18:45:34 -0700 | |
commit | 57f602022e82ee8fa6476d0e16ddbaf3eb86b245 (patch) | |
tree | ace173a1ae1cfd355422f80ec8211806e34aa34d /drivers/usb/cdns3/cdns3-debug.h | |
parent | rcutorture: Properly set rcu_fwds for OOM handling (diff) | |
download | wireguard-linux-57f602022e82ee8fa6476d0e16ddbaf3eb86b245.tar.xz wireguard-linux-57f602022e82ee8fa6476d0e16ddbaf3eb86b245.zip |
rcutorture: Properly synchronize with OOM notifier
The current rcutorture forward-progress code assumes that it is the
only cause of out-of-memory (OOM) events. For script-based rcutorture
testing, this assumption is in fact correct. However, testing based
on modprobe/rmmod might well encounter external OOM events, which could
happen at any time.
This commit therefore properly synchronizes the interaction between
rcutorture's forward-progress testing and its OOM notifier by adding a
global mutex.
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