diff options
| author | Paul E. McKenney <[email protected]> | 2020-07-22 17:45:12 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2020-08-25 01:45:35 +0000 |
| commit | 299c7d94f635ab93ffb0468aec6b6e2176ec5cbf (patch) | |
| tree | 42eb2c66efb76ccfe4d066d41b8c779eea9f4782 /net/unix/af_unix.c | |
| parent | refperf: Avoid null pointer dereference when buf fails to allocate (diff) | |
| download | kernel-299c7d94f635ab93ffb0468aec6b6e2176ec5cbf.tar.gz kernel-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 <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
