Commit 299c7d9
committed
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>1 parent 58db578 commit 299c7d9
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2110 | 2110 | | |
2111 | 2111 | | |
2112 | 2112 | | |
2113 | | - | |
2114 | 2113 | | |
2115 | 2114 | | |
2116 | 2115 | | |
2117 | 2116 | | |
2118 | 2117 | | |
2119 | | - | |
2120 | 2118 | | |
2121 | 2119 | | |
2122 | 2120 | | |
| |||
2159 | 2157 | | |
2160 | 2158 | | |
2161 | 2159 | | |
| 2160 | + | |
2162 | 2161 | | |
2163 | 2162 | | |
2164 | 2163 | | |
| |||
2171 | 2170 | | |
2172 | 2171 | | |
2173 | 2172 | | |
| 2173 | + | |
2174 | 2174 | | |
2175 | 2175 | | |
2176 | 2176 | | |
| |||
0 commit comments