Commit d761de8
committed
rcu: Make synchronize_rcu() fastpath update only boot-CPU counters
Large systems can have hundreds of rcu_node structures, and updating
counters in each of them might slow down booting. This commit therefore
updates only the counters in those rcu_node structures corresponding
to the boot CPU, up to and including the root rcu_node structure.
The counters for the remaining rcu_node structures are updated by the
rcu_scheduler_starting() function, which executes just before the first
non-boot kthread is spawned.
Signed-off-by: Paul E. McKenney <[email protected]>1 parent b3cdd0a commit d761de8
1 file changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3504 | 3504 | | |
3505 | 3505 | | |
3506 | 3506 | | |
3507 | | - | |
| 3507 | + | |
| 3508 | + | |
| 3509 | + | |
| 3510 | + | |
3508 | 3511 | | |
3509 | 3512 | | |
3510 | 3513 | | |
3511 | | - | |
| 3514 | + | |
3512 | 3515 | | |
3513 | 3516 | | |
3514 | 3517 | | |
| |||
4456 | 4459 | | |
4457 | 4460 | | |
4458 | 4461 | | |
| 4462 | + | |
| 4463 | + | |
| 4464 | + | |
4459 | 4465 | | |
4460 | 4466 | | |
4461 | 4467 | | |
| 4468 | + | |
| 4469 | + | |
| 4470 | + | |
| 4471 | + | |
| 4472 | + | |
| 4473 | + | |
| 4474 | + | |
| 4475 | + | |
4462 | 4476 | | |
4463 | 4477 | | |
4464 | 4478 | | |
| |||
0 commit comments