函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Do boot-time initialization of a CPU's per-CPU RCU data.

函数原型:static void __init rcu_boot_init_percpu_data(int cpu)

返回类型:void

参数:

类型参数名称
intcpu
3026  rdp等于per_cpu_ptr( & rcu_data, cpu)
3029  Mask to apply to leaf qsmask. 等于Bitmasks in an rcu_node cover the interval [grplo, grphi] of CPU IDs, and* are indexed relative to this interval rather than the global CPU ID space.* This generates the bit for a CPU in node-local masks.(This CPU's leaf of hierarchy , cpu)
3030  WARN_ON_ONCE(Track process nesting level. != 1)
3031  WARN_ON_ONCE(Return true if the snapshot returned from rcu_dynticks_snap()* indicates that RCU is in an extended quiescent state.)
3032  ->gp_seq at last offline. 等于Grace-period sequence #.
3033  ->gp_flags at last offline. 等于Grace-period cleanup complete.
3034  ->gp_seq at last online. 等于Grace-period sequence #.
3035  ->gp_flags at last online. 等于Grace-period cleanup complete.
3036  cpu等于cpu
3037  rcu_boot_init_nocb_percpu_data(rdp)
调用者
名称描述
rcu_init_oneHelper function for rcu_init() that initializes the rcu_state structure.