Message ID | 20230510171238.2189921-4-paulmck@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 23fc8df26dead16687ae6eb47b0561a4a832e2f6 |
Headers | show |
Series | Torture-test updates for v6.5 | expand |
diff --git a/kernel/rcu/rcuscale.c b/kernel/rcu/rcuscale.c index 7e8965b0827a..d1221731c7cf 100644 --- a/kernel/rcu/rcuscale.c +++ b/kernel/rcu/rcuscale.c @@ -797,6 +797,11 @@ rcu_scale_cleanup(void) if (gp_exp && gp_async) SCALEOUT_ERRSTRING("No expedited async GPs, so went with async!"); + if (kfree_rcu_test) { + kfree_scale_cleanup(); + return; + } + if (torture_cleanup_begin()) return; if (!cur_ops) {