The PROVE_RCU_REPEATEDLY Kconfig option was initially added due to the volume of messages from PROVE_RCU: Doing just one per boot would have required excessive numbers of boots to locate them all. However, PROVE_RCU messages are now relatively rare, so there is no longer any reason to need more than one such message per boot. This commit therefore removes the PROVE_RCU_REPEATEDLY Kconfig option.
Showing the changes to kernel/locking (1 of 5 files). Show all
Unified · Split
| @@ -4490,10 +4490,6 @@ void lockdep_rcu_suspicious(const char *file, const int line, const char *s) · 4489 unmodified lines | |||
| 4490 | { | 4490 | { |
| 4491 | struct task_struct *curr = current; | 4491 | struct task_struct *curr = current; |
| 4492 | 4492 | ||
| 4493 | #ifndef CONFIG_PROVE_RCU_REPEATEDLY | ||
| 4494 | if (!debug_locks_off()) | ||
| 4495 | return; | ||
| 4496 | #endif /* #ifdef CONFIG_PROVE_RCU_REPEATEDLY */ | ||
| 4497 | /* Note: the following can be executed concurrently, so be careful. */ | 4493 | /* Note: the following can be executed concurrently, so be careful. */ |
| 4498 | pr_warn("\n"); | 4494 | pr_warn("\n"); |
| 4499 | pr_warn("=============================\n"); | 4495 | pr_warn("=============================\n"); |