aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-04-28 14:12:34 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-06-08 11:25:35 -0400
commit17c7798bea64b9d35c7b4cc14d564e6feff73ac3 (patch)
tree37a49a261a98e4673b0d301f09e5b6b715fd1c82 /kernel/rcu/tree.c
parent59d80fd8351b7b9a5dc7bbfa8bc4ca19f6ff3dad (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.c9
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}
537EXPORT_SYMBOL_GPL(rcu_all_qs); 537EXPORT_SYMBOL_GPL(rcu_all_qs);
538 538
539static long blimit = 10; /* Maximum callbacks per rcu_do_batch. */ 539#define DEFAULT_RCU_BLIMIT 10 /* Maximum callbacks per rcu_do_batch. */
540static long qhimark = 10000; /* If this many pending, ignore blimit. */ 540static long blimit = DEFAULT_RCU_BLIMIT;
541static long qlowmark = 100; /* Once only this many pending, use blimit. */ 541#define DEFAULT_RCU_QHIMARK 10000 /* If this many pending, ignore blimit. */
542static long qhimark = DEFAULT_RCU_QHIMARK;
543#define DEFAULT_RCU_QLOMARK 100 /* Once only this many pending, use blimit. */
544static long qlowmark = DEFAULT_RCU_QLOMARK;
542 545
543module_param(blimit, long, 0444); 546module_param(blimit, long, 0444);
544module_param(qhimark, long, 0444); 547module_param(qhimark, long, 0444);