diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-07-20 08:34:07 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-08-24 18:45:34 -0700 |
commit | 57f602022e82ee8fa6476d0e16ddbaf3eb86b245 (patch) | |
tree | ace173a1ae1cfd355422f80ec8211806e34aa34d /lib/mpi/mpiutil.c | |
parent | c8fa63714763b7795a3f5fb7ed6d000763e6dccc (diff) |
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions