summaryrefslogtreecommitdiffstats
path: root/mm/madvise.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2021-08-06 17:57:26 +0200
committerPaul E. McKenney <paulmck@kernel.org>2021-09-14 01:36:16 +0200
commitfd13fe16db0d82612b260640f4e26f6d9d1e11fd (patch)
treeca0266ea052c516cc2634505d08aae99cffa3c91 /mm/madvise.c
parentrcuscale: Warn on individual rcu_scale_init() error conditions (diff)
downloadlinux-fd13fe16db0d82612b260640f4e26f6d9d1e11fd.tar.xz
linux-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 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions