diff options
author | 2021-08-06 08:57:26 -0700 | |
---|---|---|
committer | 2021-09-13 16:36:16 -0700 | |
commit | fd13fe16db0d82612b260640f4e26f6d9d1e11fd (patch) | |
tree | ca0266ea052c516cc2634505d08aae99cffa3c91 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcuscale: Warn on individual rcu_scale_init() error conditions (diff) | |
download | linux-dev-fd13fe16db0d82612b260640f4e26f6d9d1e11fd.tar.xz linux-dev-fd13fe16db0d82612b260640f4e26f6d9d1e11fd.zip |
rcutorture: Don't cpuhp_remove_state() if cpuhp_setup_state() failed
Currently, in CONFIG_RCU_BOOST kernels, if the rcu_torture_init()
function's call to cpuhp_setup_state() fails, rcu_torture_cleanup()
gamely passes nonsense to cpuhp_remove_state(). This results in
strange and misleading splats. This commit therefore ensures that if
the rcu_torture_init() function's call to cpuhp_setup_state() fails,
rcu_torture_cleanup() avoids invoking cpuhp_remove_state().
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions