tree.c (6bea2cc5a97b7e9677088b1a93e27edb74ae0e55) tree.c (4babd855fd6137f9792117eb73b096c221a49d3c)
1/*
2 * Read-Copy Update mechanism for mutual exclusion
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 166 unchanged lines hidden (view full) ---

175
176static int gp_preinit_delay;
177module_param(gp_preinit_delay, int, 0444);
178static int gp_init_delay;
179module_param(gp_init_delay, int, 0444);
180static int gp_cleanup_delay;
181module_param(gp_cleanup_delay, int, 0444);
182
1/*
2 * Read-Copy Update mechanism for mutual exclusion
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 166 unchanged lines hidden (view full) ---

175
176static int gp_preinit_delay;
177module_param(gp_preinit_delay, int, 0444);
178static int gp_init_delay;
179module_param(gp_init_delay, int, 0444);
180static int gp_cleanup_delay;
181module_param(gp_cleanup_delay, int, 0444);
182
183/* Retreive RCU kthreads priority for rcutorture */
184int rcu_get_gp_kthreads_prio(void)
185{
186 return kthread_prio;
187}
188EXPORT_SYMBOL_GPL(rcu_get_gp_kthreads_prio);
189
183/*
184 * Number of grace periods between delays, normalized by the duration of
185 * the delay. The longer the delay, the more the grace periods between
186 * each delay. The reason for this normalization is that it means that,
187 * for non-zero delays, the overall slowdown of grace periods is constant
188 * regardless of the duration of the delay. This arrangement balances
189 * the need for long delays to increase some race probabilities with the
190 * need for fast grace periods to increase other race probabilities.

--- 3935 unchanged lines hidden ---
190/*
191 * Number of grace periods between delays, normalized by the duration of
192 * the delay. The longer the delay, the more the grace periods between
193 * each delay. The reason for this normalization is that it means that,
194 * for non-zero delays, the overall slowdown of grace periods is constant
195 * regardless of the duration of the delay. This arrangement balances
196 * the need for long delays to increase some race probabilities with the
197 * need for fast grace periods to increase other race probabilities.

--- 3935 unchanged lines hidden ---