函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\tree.c Create Date:2022-07-27 11:27:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:int rcutree_online_cpu(unsigned int cpu)

返回类型:int

参数:

类型参数名称
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  如果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则返回: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  返回:0
调用者
名称描述
rcu_init初始化直接读拷贝更新的锁机制