Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 091541bb authored by Paul E. McKenney's avatar Paul E. McKenney Committed by Paul E. McKenney
Browse files

rcu: Make rcutorture flag online/offline failures



Make rcutorture check for CPU-hotplug failures and complain if there
were any.

Signed-off-by: default avatarPaul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent e5601400
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1602,6 +1602,10 @@ rcu_torture_cleanup(void)
		cur_ops->cleanup();
	if (atomic_read(&n_rcu_torture_error))
		rcu_torture_print_module_parms(cur_ops, "End of test: FAILURE");
	else if (n_online_successes != n_online_attempts ||
		 n_offline_successes != n_offline_attempts)
		rcu_torture_print_module_parms(cur_ops,
					       "End of test: RCU_HOTPLUG");
	else
		rcu_torture_print_module_parms(cur_ops, "End of test: SUCCESS");
}