Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Near the end of the CPU-online process. Pretty much all services* enabled, and the CPU is now very much alive.

Proto:int rcutree_online_cpu(unsigned int cpu)

Type:int

Parameter:

TypeParameterName
unsigned intcpu
3110  rdp = per_cpu_ptr( & rcu_data, cpu)
3111  rnp = This CPU's leaf of hierarchy
3112  raw_spin_lock_irqsave_rcu_node(rnp, flags)
3113  Fully functional CPUs. |= Mask to apply to leaf qsmask.
3114  raw_spin_unlock_irqrestore_rcu_node(rnp, flags)
3115  If The rcu_scheduler_active variable is initialized to the value* RCU_SCHEDULER_INACTIVE and transitions RCU_SCHEDULER_INIT just before the* first task is spawned == RCU_SCHEDULER_INACTIVE Then Return 0
3117  sync_sched_exp_online_cleanup(cpu)
3118  Update RCU priority boot kthread affinity for CPU-hotplug changes.
3121  tick_dep_clear(TICK_DEP_BIT_RCU)
3122  Return 0
Caller
NameDescribe
rcu_init