diff options
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-04-28 14:12:34 -0400 | 
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-06-08 11:25:35 -0400 | 
| commit | 17c7798bea64b9d35c7b4cc14d564e6feff73ac3 (patch) | |
| tree | 37a49a261a98e4673b0d301f09e5b6b715fd1c82 /kernel/rcu/tree.c | |
| parent | 59d80fd8351b7b9a5dc7bbfa8bc4ca19f6ff3dad (diff) | |
rcu: Update rcu_bootup_announce_oddness()
This commit updates rcu_bootup_announce_oddness() to check additional
Kconfig options and module/boot parameters.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.c')
| -rw-r--r-- | kernel/rcu/tree.c | 9 | 
1 files changed, 6 insertions, 3 deletions
| diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index b01a02e7a0b7..ac8dce15fd74 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c | |||
| @@ -536,9 +536,12 @@ void rcu_all_qs(void) | |||
| 536 | } | 536 | } | 
| 537 | EXPORT_SYMBOL_GPL(rcu_all_qs); | 537 | EXPORT_SYMBOL_GPL(rcu_all_qs); | 
| 538 | 538 | ||
| 539 | static long blimit = 10; /* Maximum callbacks per rcu_do_batch. */ | 539 | #define DEFAULT_RCU_BLIMIT 10 /* Maximum callbacks per rcu_do_batch. */ | 
| 540 | static long qhimark = 10000; /* If this many pending, ignore blimit. */ | 540 | static long blimit = DEFAULT_RCU_BLIMIT; | 
| 541 | static long qlowmark = 100; /* Once only this many pending, use blimit. */ | 541 | #define DEFAULT_RCU_QHIMARK 10000 /* If this many pending, ignore blimit. */ | 
| 542 | static long qhimark = DEFAULT_RCU_QHIMARK; | ||
| 543 | #define DEFAULT_RCU_QLOMARK 100 /* Once only this many pending, use blimit. */ | ||
| 544 | static long qlowmark = DEFAULT_RCU_QLOMARK; | ||
| 542 | 545 | ||
| 543 | module_param(blimit, long, 0444); | 546 | module_param(blimit, long, 0444); | 
| 544 | module_param(qhimark, long, 0444); | 547 | module_param(qhimark, long, 0444); | 
