diff options
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r-- | kernel/rcutree.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 93d6871bf7f9..e4c2192b47c8 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
@@ -212,13 +212,13 @@ DEFINE_PER_CPU(struct rcu_dynticks, rcu_dynticks) = { | |||
212 | #endif | 212 | #endif |
213 | }; | 213 | }; |
214 | 214 | ||
215 | static int blimit = 10; /* Maximum callbacks per rcu_do_batch. */ | 215 | static long blimit = 10; /* Maximum callbacks per rcu_do_batch. */ |
216 | static int qhimark = 10000; /* If this many pending, ignore blimit. */ | 216 | static long qhimark = 10000; /* If this many pending, ignore blimit. */ |
217 | static int qlowmark = 100; /* Once only this many pending, use blimit. */ | 217 | static long qlowmark = 100; /* Once only this many pending, use blimit. */ |
218 | 218 | ||
219 | module_param(blimit, int, 0444); | 219 | module_param(blimit, long, 0444); |
220 | module_param(qhimark, int, 0444); | 220 | module_param(qhimark, long, 0444); |
221 | module_param(qlowmark, int, 0444); | 221 | module_param(qlowmark, long, 0444); |
222 | 222 | ||
223 | int rcu_cpu_stall_suppress __read_mostly; /* 1 = suppress stall warnings. */ | 223 | int rcu_cpu_stall_suppress __read_mostly; /* 1 = suppress stall warnings. */ |
224 | int rcu_cpu_stall_timeout __read_mostly = CONFIG_RCU_CPU_STALL_TIMEOUT; | 224 | int rcu_cpu_stall_timeout __read_mostly = CONFIG_RCU_CPU_STALL_TIMEOUT; |
@@ -1791,7 +1791,8 @@ static void rcu_do_batch(struct rcu_state *rsp, struct rcu_data *rdp) | |||
1791 | { | 1791 | { |
1792 | unsigned long flags; | 1792 | unsigned long flags; |
1793 | struct rcu_head *next, *list, **tail; | 1793 | struct rcu_head *next, *list, **tail; |
1794 | int bl, count, count_lazy, i; | 1794 | long bl, count, count_lazy; |
1795 | int i; | ||
1795 | 1796 | ||
1796 | /* If no callbacks are ready, just return.*/ | 1797 | /* If no callbacks are ready, just return.*/ |
1797 | if (!cpu_has_callbacks_ready_to_invoke(rdp)) { | 1798 | if (!cpu_has_callbacks_ready_to_invoke(rdp)) { |