diff options
| author | 2022-11-10 15:30:13 +0800 | |
|---|---|---|
| committer | 2023-01-03 17:49:22 -0800 | |
| commit | 66ea1029f9b839fbcc10d97ddc93a05c72b3acc1 (patch) | |
| tree | 6c20b21e488fefea05f391df4536a42e10f1d02f /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | Linux 6.2-rc1 (diff) | |
srcu: Release early_srcu resources when no longer in use
Kernels built with the CONFIG_TREE_SRCU Kconfig option set and then
booted with rcupdate.rcu_self_test=1 and srcutree.convert_to_big=1 will
test Tree SRCU during early boot. The early_srcu structure's srcu_node
array will be allocated when init_srcu_struct_fields() is invoked,
but after the test completes this early_srcu structure will not be used.
This commit therefore invokes cleanup_srcu_struct() to free that srcu_node
structure.
Signed-off-by: Zqiang <qiang1.zhang@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
