Skip to content
Commit 299c7d94 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcutorture: Hoist OOM registry up one level



Currently, registering and unregistering the OOM notifier is done
right before and after the test, respectively.  This will not work
well for multi-threaded tests, so this commit hoists this registering
and unregistering up into the rcu_torture_fwd_prog_init() and
rcu_torture_fwd_prog_cleanup() functions.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 58db5785
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment