summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-07-20 18:34:07 +0300
committerPaul E. McKenney <paulmck@kernel.org>2020-08-25 04:45:34 +0300
commit57f602022e82ee8fa6476d0e16ddbaf3eb86b245 (patch)
treeace173a1ae1cfd355422f80ec8211806e34aa34d /lib/debugobjects.c
parentc8fa63714763b7795a3f5fb7ed6d000763e6dccc (diff)
downloadlinux-57f602022e82ee8fa6476d0e16ddbaf3eb86b245.tar.xz
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/debugobjects.c')
0 files changed, 0 insertions, 0 deletions