torture: Clean up after torture-test CPU hotplugging
authorPaul E. McKenney <paulmck@kernel.org>
Sat, 19 Dec 2020 15:05:58 +0000 (07:05 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 7 Jan 2021 01:17:22 +0000 (17:17 -0800)
commit0b962c8fe0e5c72a252b236814a6b6e9df799061
treef9d356cbaca56588e62c177265031a89f7263688
parentedf7b8417834c89d00ef88355ea507b0b0a630ae
torture: Clean up after torture-test CPU hotplugging

This commit puts all CPUs back online at the end of a torture test,
and also unconditionally puts them online at the beginning of the test,
rather than just in the case of built-in tests.  This allows torture tests
to behave in a predictable manner, whether built-in or based on modules.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/torture.c