diff options
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-05-12 17:37:19 -0400 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-06-08 21:52:41 -0400 |
| commit | c4a09ff752e164c020bced6513e2008f992a02e6 (patch) | |
| tree | ac33c73d9ae4028e3f601e4667e5ab6a418a6879 /kernel/locking | |
| parent | 4e4bea7427062ec15df7084f97728e2a44d912e3 (diff) | |
rcu: Remove the now-obsolete PROVE_RCU_REPEATEDLY Kconfig option
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.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/locking')
| -rw-r--r-- | kernel/locking/lockdep.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index cceb9534338a..7d2499bec5fe 100644 --- a/kernel/locking/lockdep.c +++ b/kernel/locking/lockdep.c | |||
| @@ -4490,10 +4490,6 @@ void lockdep_rcu_suspicious(const char *file, const int line, const char *s) | |||
| 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"); |
