History

rcu: Make rcutorture flag online/offline failures

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

Paul E. McKenney committed 14 years ago

Commit 091541b1 parent e5601401 file · +4 −0Browse files

Unified · Split

kernel/rcutorture.c+4−0
@@ -1602,6 +1602,10 @@ rcu_torture_cleanup(void) · 1601 unmodified lines
16021602 cur_ops->cleanup();
16031603 if (atomic_read(&n_rcu_torture_error))
16041604 rcu_torture_print_module_parms(cur_ops, "End of test: FAILURE");
1605+ else if (n_online_successes != n_online_attempts ||
1606+ n_offline_successes != n_offline_attempts)
1607+ rcu_torture_print_module_parms(cur_ops,
1608+ "End of test: RCU_HOTPLUG");
16051609 else
16061610 rcu_torture_print_module_parms(cur_ops, "End of test: SUCCESS");
16071611 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t