diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-07-22 19:45:12 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-08-25 03:45:35 +0200 |
commit | 299c7d94f635ab93ffb0468aec6b6e2176ec5cbf (patch) | |
tree | 42eb2c66efb76ccfe4d066d41b8c779eea9f4782 /drivers/iommu | |
parent | refperf: Avoid null pointer dereference when buf fails to allocate (diff) | |
download | linux-299c7d94f635ab93ffb0468aec6b6e2176ec5cbf.tar.xz linux-299c7d94f635ab93ffb0468aec6b6e2176ec5cbf.zip |
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: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions