Skip to content

Commit cee1352

Browse files
committed
Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull RCU updates from Ingo Molnar: "The biggest change in this cycle is the conclusion of the big 'simplify RCU to two primary flavors' consolidation work - i.e. there's a single RCU flavor for any kernel variant (PREEMPT and !PREEMPT): - Consolidate the RCU-bh, RCU-preempt, and RCU-sched flavors into a single flavor similar to RCU-sched in !PREEMPT kernels and into a single flavor similar to RCU-preempt (but also waiting on preempt-disabled sequences of code) in PREEMPT kernels. This branch also includes a refactoring of rcu_{nmi,irq}_{enter,exit}() from Byungchul Park. - Now that there is only one RCU flavor in any given running kernel, the many "rsp" pointers are no longer required, and this cleanup series removes them. - This branch carries out additional cleanups made possible by the RCU flavor consolidation, including inlining now-trivial functions, updating comments and definitions, and removing now-unneeded rcutorture scenarios. - Now that there is only one flavor of RCU in any running kernel, there is also only on rcu_data structure per CPU. This means that the rcu_dynticks structure can be merged into the rcu_data structure, a task taken on by this branch. This branch also contains a -rt-related fix from Mike Galbraith. There were also other updates: - Documentation updates, including some good-eye catches from Joel Fernandes. - SRCU updates, most notably changes enabling call_srcu() to be invoked very early in the boot sequence. - Torture-test updates, including some preliminary work towards making rcutorture better able to find problems that result in insufficient grace-period forward progress. - Initial changes to RCU to better promote forward progress of grace periods, including fixing a bug found by Marius Hillenbrand and David Woodhouse, with the fix suggested by Peter Zijlstra" * 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (140 commits) srcu: Make early-boot call_srcu() reuse workqueue lists rcutorture: Test early boot call_srcu() srcu: Make call_srcu() available during very early boot rcu: Convert rcu_state.ofl_lock to raw_spinlock_t rcu: Remove obsolete ->dynticks_fqs and ->cond_resched_completed rcu: Switch ->dynticks to rcu_data structure, remove rcu_dynticks rcu: Switch dyntick nesting counters to rcu_data structure rcu: Switch urgent quiescent-state requests to rcu_data structure rcu: Switch lazy counts to rcu_data structure rcu: Switch last accelerate/advance to rcu_data structure rcu: Switch ->tick_nohz_enabled_snap to rcu_data structure rcu: Merge rcu_dynticks structure into rcu_data structure rcu: Remove unused rcu_dynticks_snap() from Tiny RCU rcu: Convert "1UL << x" to "BIT(x)" rcu: Avoid resched_cpu() when rescheduling the current CPU rcu: More aggressively enlist scheduler aid for nohz_full CPUs rcu: Compute jiffies_till_sched_qs from other kernel parameters rcu: Provide functions for determining if call_rcu() has been invoked rcu: Eliminate ->rcu_qs_ctr from the rcu_dynticks structure rcu: Motivate Tiny RCU forward progress ...
2 parents e2b623f + d034655 commit cee1352

40 files changed

Lines changed: 2294 additions & 2752 deletions

‎Documentation/RCU/Design/Data-Structures/Data-Structures.html‎

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,9 +1227,11 @@ <h3><a name="The rcu_dynticks Structure">
12271227
CPU enters the idle loop from process context.
12281228

12291229
</p><p>The <tt>-&gt;dynticks</tt> field counts the corresponding
1230-
CPU's transitions to and from dyntick-idle mode, so that this counter
1231-
has an even value when the CPU is in dyntick-idle mode and an odd
1232-
value otherwise.
1230+
CPU's transitions to and from either dyntick-idle or user mode, so
1231+
that this counter has an even value when the CPU is in dyntick-idle
1232+
mode or user mode and an odd value otherwise. The transitions to/from
1233+
user mode need to be counted for user mode adaptive-ticks support
1234+
(see timers/NO_HZ.txt).
12331235

12341236
</p><p>The <tt>-&gt;rcu_need_heavy_qs</tt> field is used
12351237
to record the fact that the RCU core code would really like to
@@ -1372,8 +1374,7 @@ <h3><a name="Accessor Functions">
13721374
Accessor Functions</a></h3>
13731375

13741376
<p>The following listing shows the
1375-
<tt>rcu_get_root()</tt>, <tt>rcu_for_each_node_breadth_first</tt>,
1376-
<tt>rcu_for_each_nonleaf_node_breadth_first()</tt>, and
1377+
<tt>rcu_get_root()</tt>, <tt>rcu_for_each_node_breadth_first</tt> and
13771378
<tt>rcu_for_each_leaf_node()</tt> function and macros:
13781379

13791380
<pre>
@@ -1386,13 +1387,9 @@ <h3><a name="Accessor Functions">
13861387
7 for ((rnp) = &amp;(rsp)-&gt;node[0]; \
13871388
8 (rnp) &lt; &amp;(rsp)-&gt;node[NUM_RCU_NODES]; (rnp)++)
13881389
9
1389-
10 #define rcu_for_each_nonleaf_node_breadth_first(rsp, rnp) \
1390-
11 for ((rnp) = &amp;(rsp)-&gt;node[0]; \
1391-
12 (rnp) &lt; (rsp)-&gt;level[NUM_RCU_LVLS - 1]; (rnp)++)
1392-
13
1393-
14 #define rcu_for_each_leaf_node(rsp, rnp) \
1394-
15 for ((rnp) = (rsp)-&gt;level[NUM_RCU_LVLS - 1]; \
1395-
16 (rnp) &lt; &amp;(rsp)-&gt;node[NUM_RCU_NODES]; (rnp)++)
1390+
10 #define rcu_for_each_leaf_node(rsp, rnp) \
1391+
11 for ((rnp) = (rsp)-&gt;level[NUM_RCU_LVLS - 1]; \
1392+
12 (rnp) &lt; &amp;(rsp)-&gt;node[NUM_RCU_NODES]; (rnp)++)
13961393
</pre>
13971394

13981395
<p>The <tt>rcu_get_root()</tt> simply returns a pointer to the
@@ -1405,26 +1402,22 @@ <h3><a name="Accessor Functions">
14051402
structures in the <tt>rcu_state</tt> structure's
14061403
<tt>-&gt;node[]</tt> array, performing a breadth-first traversal by
14071404
simply traversing the array in order.
1408-
The <tt>rcu_for_each_nonleaf_node_breadth_first()</tt> macro operates
1409-
similarly, but traverses only the first part of the array, thus excluding
1410-
the leaf <tt>rcu_node</tt> structures.
1411-
Finally, the <tt>rcu_for_each_leaf_node()</tt> macro traverses only
1405+
Similarly, the <tt>rcu_for_each_leaf_node()</tt> macro traverses only
14121406
the last part of the array, thus traversing only the leaf
14131407
<tt>rcu_node</tt> structures.
14141408

14151409
<table>
14161410
<tr><th>&nbsp;</th></tr>
14171411
<tr><th align="left">Quick Quiz:</th></tr>
14181412
<tr><td>
1419-
What do <tt>rcu_for_each_nonleaf_node_breadth_first()</tt> and
1413+
What does
14201414
<tt>rcu_for_each_leaf_node()</tt> do if the <tt>rcu_node</tt> tree
14211415
contains only a single node?
14221416
</td></tr>
14231417
<tr><th align="left">Answer:</th></tr>
14241418
<tr><td bgcolor="#ffffff"><font color="ffffff">
14251419
In the single-node case,
1426-
<tt>rcu_for_each_nonleaf_node_breadth_first()</tt> is a no-op
1427-
and <tt>rcu_for_each_leaf_node()</tt> traverses the single node.
1420+
<tt>rcu_for_each_leaf_node()</tt> traverses the single node.
14281421
</font></td></tr>
14291422
<tr><td>&nbsp;</td></tr>
14301423
</table>

‎Documentation/RCU/Design/Expedited-Grace-Periods/Expedited-Grace-Periods.html‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ <h2>Introduction</h2>
1212
lower efficiency and significant disturbance to attain shorter latencies.
1313

1414
<p>
15-
There are three flavors of RCU (RCU-bh, RCU-preempt, and RCU-sched),
16-
but only two flavors of expedited grace periods because the RCU-bh
17-
expedited grace period maps onto the RCU-sched expedited grace period.
18-
Each of the remaining two implementations is covered in its own section.
15+
There are two flavors of RCU (RCU-preempt and RCU-sched), with an earlier
16+
third RCU-bh flavor having been implemented in terms of the other two.
17+
Each of the two implementations is covered in its own section.
1918

2019
<ol>
2120
<li> <a href="#Expedited Grace Period Design">
@@ -158,7 +157,7 @@ <h2><a name="RCU-sched Expedited Grace Periods">
158157
The best that <tt>sync_sched_exp_handler()</tt> can do is to check
159158
for idle, on the off-chance that the CPU went idle while the IPI
160159
was in flight.
161-
If the CPU is idle, then tt>sync_sched_exp_handler()</tt> reports
160+
If the CPU is idle, then <tt>sync_sched_exp_handler()</tt> reports
162161
the quiescent state.
163162

164163
<p>

‎Documentation/RCU/Design/Requirements/Requirements.html‎

Lines changed: 72 additions & 142 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,8 +1306,6 @@ <h3><a name="Disabling Preemption Does Not Block Grace Periods">
13061306

13071307
<p>
13081308
This non-requirement appeared with preemptible RCU.
1309-
If you need a grace period that waits on non-preemptible code regions, use
1310-
<a href="#Sched Flavor">RCU-sched</a>.
13111309

13121310
<h2><a name="Parallelism Facts of Life">Parallelism Facts of Life</a></h2>
13131311

@@ -2165,14 +2163,9 @@ <h3><a name="Early Boot">Early Boot</a></h3>
21652163
on what operations those callbacks could invoke.
21662164

21672165
<p>
2168-
Perhaps surprisingly, <tt>synchronize_rcu()</tt>,
2169-
<a href="#Bottom-Half Flavor"><tt>synchronize_rcu_bh()</tt></a>
2170-
(<a href="#Bottom-Half Flavor">discussed below</a>),
2171-
<a href="#Sched Flavor"><tt>synchronize_sched()</tt></a>,
2166+
Perhaps surprisingly, <tt>synchronize_rcu()</tt> and
21722167
<tt>synchronize_rcu_expedited()</tt>,
2173-
<tt>synchronize_rcu_bh_expedited()</tt>, and
2174-
<tt>synchronize_sched_expedited()</tt>
2175-
will all operate normally
2168+
will operate normally
21762169
during very early boot, the reason being that there is only one CPU
21772170
and preemption is disabled.
21782171
This means that the call <tt>synchronize_rcu()</tt> (or friends)
@@ -2269,12 +2262,23 @@ <h3><a name="Interrupts and NMIs">Interrupts and NMIs</a></h3>
22692262
The name notwithstanding, some Linux-kernel architectures
22702263
can have nested NMIs, which RCU must handle correctly.
22712264
Andy Lutomirski
2272-
<a href="https://lkml.kernel.org/g/CALCETrXLq1y7e_dKFPgou-FKHB6Pu-r8+t-6Ds+8=va7anBWDA@mail.gmail.com">surprised me</a>
2265+
<a href="https://lkml.kernel.org/r/CALCETrXLq1y7e_dKFPgou-FKHB6Pu-r8+t-6Ds+8=va7anBWDA@mail.gmail.com">surprised me</a>
22732266
with this requirement;
22742267
he also kindly surprised me with
2275-
<a href="https://lkml.kernel.org/g/CALCETrXSY9JpW3uE6H8WYk81sg56qasA2aqmjMPsq5dOtzso=g@mail.gmail.com">an algorithm</a>
2268+
<a href="https://lkml.kernel.org/r/CALCETrXSY9JpW3uE6H8WYk81sg56qasA2aqmjMPsq5dOtzso=g@mail.gmail.com">an algorithm</a>
22762269
that meets this requirement.
22772270

2271+
<p>
2272+
Furthermore, NMI handlers can be interrupted by what appear to RCU
2273+
to be normal interrupts.
2274+
One way that this can happen is for code that directly invokes
2275+
<tt>rcu_irq_enter()</tt> and </tt>rcu_irq_exit()</tt> to be called
2276+
from an NMI handler.
2277+
This astonishing fact of life prompted the current code structure,
2278+
which has <tt>rcu_irq_enter()</tt> invoking <tt>rcu_nmi_enter()</tt>
2279+
and <tt>rcu_irq_exit()</tt> invoking <tt>rcu_nmi_exit()</tt>.
2280+
And yes, I also learned of this requirement the hard way.
2281+
22782282
<h3><a name="Loadable Modules">Loadable Modules</a></h3>
22792283

22802284
<p>
@@ -2394,30 +2398,9 @@ <h3><a name="Scheduler and RCU">Scheduler and RCU</a></h3>
23942398
<p>
23952399
RCU depends on the scheduler, and the scheduler uses RCU to
23962400
protect some of its data structures.
2397-
This means the scheduler is forbidden from acquiring
2398-
the runqueue locks and the priority-inheritance locks
2399-
in the middle of an outermost RCU read-side critical section unless either
2400-
(1)&nbsp;it releases them before exiting that same
2401-
RCU read-side critical section, or
2402-
(2)&nbsp;interrupts are disabled across
2403-
that entire RCU read-side critical section.
2404-
This same prohibition also applies (recursively!) to any lock that is acquired
2405-
while holding any lock to which this prohibition applies.
2406-
Adhering to this rule prevents preemptible RCU from invoking
2407-
<tt>rcu_read_unlock_special()</tt> while either runqueue or
2408-
priority-inheritance locks are held, thus avoiding deadlock.
2409-
2410-
<p>
2411-
Prior to v4.4, it was only necessary to disable preemption across
2412-
RCU read-side critical sections that acquired scheduler locks.
2413-
In v4.4, expedited grace periods started using IPIs, and these
2414-
IPIs could force a <tt>rcu_read_unlock()</tt> to take the slowpath.
2415-
Therefore, this expedited-grace-period change required disabling of
2416-
interrupts, not just preemption.
2417-
2418-
<p>
2419-
For RCU's part, the preemptible-RCU <tt>rcu_read_unlock()</tt>
2420-
implementation must be written carefully to avoid similar deadlocks.
2401+
The preemptible-RCU <tt>rcu_read_unlock()</tt>
2402+
implementation must therefore be written carefully to avoid deadlocks
2403+
involving the scheduler's runqueue and priority-inheritance locks.
24212404
In particular, <tt>rcu_read_unlock()</tt> must tolerate an
24222405
interrupt where the interrupt handler invokes both
24232406
<tt>rcu_read_lock()</tt> and <tt>rcu_read_unlock()</tt>.
@@ -2426,7 +2409,7 @@ <h3><a name="Scheduler and RCU">Scheduler and RCU</a></h3>
24262409
interrupt handler's use of RCU.
24272410

24282411
<p>
2429-
This pair of mutual scheduler-RCU requirements came as a
2412+
This scheduler-RCU requirement came as a
24302413
<a href="https://lwn.net/Articles/453002/">complete surprise</a>.
24312414

24322415
<p>
@@ -2437,9 +2420,28 @@ <h3><a name="Scheduler and RCU">Scheduler and RCU</a></h3>
24372420
<tt>CONFIG_NO_HZ_FULL=y</tt>
24382421
<a href="http://www.rdrop.com/users/paulmck/scalability/paper/BareMetal.2015.01.15b.pdf">did come as a surprise [PDF]</a>.
24392422
RCU has made good progress towards meeting this requirement, even
2440-
for context-switch-have <tt>CONFIG_NO_HZ_FULL=y</tt> workloads,
2423+
for context-switch-heavy <tt>CONFIG_NO_HZ_FULL=y</tt> workloads,
24412424
but there is room for further improvement.
24422425

2426+
<p>
2427+
In the past, it was forbidden to disable interrupts across an
2428+
<tt>rcu_read_unlock()</tt> unless that interrupt-disabled region
2429+
of code also included the matching <tt>rcu_read_lock()</tt>.
2430+
Violating this restriction could result in deadlocks involving the
2431+
scheduler's runqueue and priority-inheritance spinlocks.
2432+
This restriction was lifted when interrupt-disabled calls to
2433+
<tt>rcu_read_unlock()</tt> started deferring the reporting of
2434+
the resulting RCU-preempt quiescent state until the end of that
2435+
interrupts-disabled region.
2436+
This deferred reporting means that the scheduler's runqueue and
2437+
priority-inheritance locks cannot be held while reporting an RCU-preempt
2438+
quiescent state, which lifts the earlier restriction, at least from
2439+
a deadlock perspective.
2440+
Unfortunately, real-time systems using RCU priority boosting may
2441+
need this restriction to remain in effect because deferred
2442+
quiescent-state reporting also defers deboosting, which in turn
2443+
degrades real-time latencies.
2444+
24432445
<h3><a name="Tracing and RCU">Tracing and RCU</a></h3>
24442446

24452447
<p>
@@ -2850,15 +2852,22 @@ <h2><a name="Other RCU Flavors">Other RCU Flavors</a></h2>
28502852
described in a separate section.
28512853

28522854
<ol>
2853-
<li> <a href="#Bottom-Half Flavor">Bottom-Half Flavor</a>
2854-
<li> <a href="#Sched Flavor">Sched Flavor</a>
2855+
<li> <a href="#Bottom-Half Flavor">Bottom-Half Flavor (Historical)</a>
2856+
<li> <a href="#Sched Flavor">Sched Flavor (Historical)</a>
28552857
<li> <a href="#Sleepable RCU">Sleepable RCU</a>
28562858
<li> <a href="#Tasks RCU">Tasks RCU</a>
2857-
<li> <a href="#Waiting for Multiple Grace Periods">
2858-
Waiting for Multiple Grace Periods</a>
28592859
</ol>
28602860

2861-
<h3><a name="Bottom-Half Flavor">Bottom-Half Flavor</a></h3>
2861+
<h3><a name="Bottom-Half Flavor">Bottom-Half Flavor (Historical)</a></h3>
2862+
2863+
<p>
2864+
The RCU-bh flavor of RCU has since been expressed in terms of
2865+
the other RCU flavors as part of a consolidation of the three
2866+
flavors into a single flavor.
2867+
The read-side API remains, and continues to disable softirq and to
2868+
be accounted for by lockdep.
2869+
Much of the material in this section is therefore strictly historical
2870+
in nature.
28622871

28632872
<p>
28642873
The softirq-disable (AKA &ldquo;bottom-half&rdquo;,
@@ -2918,8 +2927,20 @@ <h3><a name="Bottom-Half Flavor">Bottom-Half Flavor</a></h3>
29182927
<tt>call_rcu_bh()</tt>,
29192928
<tt>rcu_barrier_bh()</tt>, and
29202929
<tt>rcu_read_lock_bh_held()</tt>.
2930+
However, the update-side APIs are now simple wrappers for other RCU
2931+
flavors, namely RCU-sched in CONFIG_PREEMPT=n kernels and RCU-preempt
2932+
otherwise.
2933+
2934+
<h3><a name="Sched Flavor">Sched Flavor (Historical)</a></h3>
29212935

2922-
<h3><a name="Sched Flavor">Sched Flavor</a></h3>
2936+
<p>
2937+
The RCU-sched flavor of RCU has since been expressed in terms of
2938+
the other RCU flavors as part of a consolidation of the three
2939+
flavors into a single flavor.
2940+
The read-side API remains, and continues to disable preemption and to
2941+
be accounted for by lockdep.
2942+
Much of the material in this section is therefore strictly historical
2943+
in nature.
29232944

29242945
<p>
29252946
Before preemptible RCU, waiting for an RCU grace period had the
@@ -3139,94 +3160,14 @@ <h3><a name="Tasks RCU">Tasks RCU</a></h3>
31393160
<tt>call_rcu_tasks()</tt>,
31403161
<tt>synchronize_rcu_tasks()</tt>, and
31413162
<tt>rcu_barrier_tasks()</tt>.
3142-
3143-
<h3><a name="Waiting for Multiple Grace Periods">
3144-
Waiting for Multiple Grace Periods</a></h3>
3145-
3146-
<p>
3147-
Perhaps you have an RCU protected data structure that is accessed from
3148-
RCU read-side critical sections, from softirq handlers, and from
3149-
hardware interrupt handlers.
3150-
That is three flavors of RCU, the normal flavor, the bottom-half flavor,
3151-
and the sched flavor.
3152-
How to wait for a compound grace period?
3153-
3154-
<p>
3155-
The best approach is usually to &ldquo;just say no!&rdquo; and
3156-
insert <tt>rcu_read_lock()</tt> and <tt>rcu_read_unlock()</tt>
3157-
around each RCU read-side critical section, regardless of what
3158-
environment it happens to be in.
3159-
But suppose that some of the RCU read-side critical sections are
3160-
on extremely hot code paths, and that use of <tt>CONFIG_PREEMPT=n</tt>
3161-
is not a viable option, so that <tt>rcu_read_lock()</tt> and
3162-
<tt>rcu_read_unlock()</tt> are not free.
3163-
What then?
3164-
3165-
<p>
3166-
You <i>could</i> wait on all three grace periods in succession, as follows:
3167-
3168-
<blockquote>
3169-
<pre>
3170-
1 synchronize_rcu();
3171-
2 synchronize_rcu_bh();
3172-
3 synchronize_sched();
3173-
</pre>
3174-
</blockquote>
3175-
3176-
<p>
3177-
This works, but triples the update-side latency penalty.
3178-
In cases where this is not acceptable, <tt>synchronize_rcu_mult()</tt>
3179-
may be used to wait on all three flavors of grace period concurrently:
3180-
3181-
<blockquote>
3182-
<pre>
3183-
1 synchronize_rcu_mult(call_rcu, call_rcu_bh, call_rcu_sched);
3184-
</pre>
3185-
</blockquote>
3186-
3187-
<p>
3188-
But what if it is necessary to also wait on SRCU?
3189-
This can be done as follows:
3190-
3191-
<blockquote>
3192-
<pre>
3193-
1 static void call_my_srcu(struct rcu_head *head,
3194-
2 void (*func)(struct rcu_head *head))
3195-
3 {
3196-
4 call_srcu(&amp;my_srcu, head, func);
3197-
5 }
3198-
6
3199-
7 synchronize_rcu_mult(call_rcu, call_rcu_bh, call_rcu_sched, call_my_srcu);
3200-
</pre>
3201-
</blockquote>
3202-
3203-
<p>
3204-
If you needed to wait on multiple different flavors of SRCU
3205-
(but why???), you would need to create a wrapper function resembling
3206-
<tt>call_my_srcu()</tt> for each SRCU flavor.
3207-
3208-
<table>
3209-
<tr><th>&nbsp;</th></tr>
3210-
<tr><th align="left">Quick Quiz:</th></tr>
3211-
<tr><td>
3212-
But what if I need to wait for multiple RCU flavors, but I also need
3213-
the grace periods to be expedited?
3214-
</td></tr>
3215-
<tr><th align="left">Answer:</th></tr>
3216-
<tr><td bgcolor="#ffffff"><font color="ffffff">
3217-
If you are using expedited grace periods, there should be less penalty
3218-
for waiting on them in succession.
3219-
But if that is nevertheless a problem, you can use workqueues
3220-
or multiple kthreads to wait on the various expedited grace
3221-
periods concurrently.
3222-
</font></td></tr>
3223-
<tr><td>&nbsp;</td></tr>
3224-
</table>
3225-
3226-
<p>
3227-
Again, it is usually better to adjust the RCU read-side critical sections
3228-
to use a single flavor of RCU, but when this is not feasible, you can use
3229-
<tt>synchronize_rcu_mult()</tt>.
3163+
In <tt>CONFIG_PREEMPT=n</tt> kernels, trampolines cannot be preempted,
3164+
so these APIs map to
3165+
<tt>call_rcu()</tt>,
3166+
<tt>synchronize_rcu()</tt>, and
3167+
<tt>rcu_barrier()</tt>, respectively.
3168+
In <tt>CONFIG_PREEMPT=y</tt> kernels, trampolines can be preempted,
3169+
and these three APIs are therefore implemented by separate functions
3170+
that check for voluntary context switches.
32303171

32313172
<h2><a name="Possible Future Changes">Possible Future Changes</a></h2>
32323173

@@ -3237,12 +3178,6 @@ <h2><a name="Possible Future Changes">Possible Future Changes</a></h2>
32373178
grace-period state machine so as to avoid the need for the additional
32383179
latency.
32393180

3240-
<p>
3241-
Expedited grace periods scan the CPUs, so their latency and overhead
3242-
increases with increasing numbers of CPUs.
3243-
If this becomes a serious problem on large systems, it will be necessary
3244-
to do some redesign to avoid this scalability problem.
3245-
32463181
<p>
32473182
RCU disables CPU hotplug in a few places, perhaps most notably in the
32483183
<tt>rcu_barrier()</tt> operations.
@@ -3287,11 +3222,6 @@ <h2><a name="Possible Future Changes">Possible Future Changes</a></h2>
32873222
require extremely good demonstration of need and full exploration of
32883223
alternatives.
32893224

3290-
<p>
3291-
There is an embarrassingly large number of flavors of RCU, and this
3292-
number has been increasing over time.
3293-
Perhaps it will be possible to combine some at some future date.
3294-
32953225
<p>
32963226
RCU's various kthreads are reasonably recent additions.
32973227
It is quite likely that adjustments will be required to more gracefully

0 commit comments

Comments
 (0)