Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\tree.c Create Date:2022-07-28 10:27:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rcu_init

Proto:void __init rcu_init(void)

Type:void

Parameter:Nothing

3565  rcu_early_boot_tests()
3567  Forward declarations for tree_plugin.h
3568  Compute the rcu_node tree geometry from kernel parameters. This cannot* replace the definitions in tree.h because those are needed to size* the ->node array in the rcu_state structure.
3569  Helper function for rcu_init() that initializes the rcu_state structure.
3570  If Dump rcu_node combining tree at boot to verify correct setup. Then Dump out the structure of the rcu_node combining tree associated* with the rcu_state structure.
3572  If By default, use RCU_SOFTIRQ instead of rcuc kthreads. Then open_softirq(RCU_SOFTIRQ, rcu_core_si)
3580  pm_notifier(On non-huge systems, use expedited RCU grace periods to make suspend* and hibernation run faster., 0)
3581  for_each_online_cpu(cpu)
3582  Invoked early in the CPU-online process, when pretty much all services* are available. The incoming CPU is not present.* Initializes a CPU's per-CPU RCU data. Note that only one online or* offline event can be happening at a given time
3583  Mark the specified CPU as being online so that subsequent grace periods* (both expedited and normal) will wait on it. Note that this means that* incoming CPUs are not allowed to use RCU read-side critical sections* until this function is called
3584  Near the end of the CPU-online process. Pretty much all services* enabled, and the CPU is now very much alive.
3588  rcu_gp_wq = alloc_workqueue("rcu_gp", WQ_MEM_RECLAIM, 0)
3589  WARN_ON(!rcu_gp_wq)
3590  rcu_par_gp_wq = alloc_workqueue("rcu_par_gp", WQ_MEM_RECLAIM, 0)
3591  WARN_ON(!rcu_par_gp_wq)
3592  Queue work for srcu_struct structures with early boot callbacks.* The work won't actually execute until the workqueue initialization* phase that takes place after the scheduler starts.