Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:int rcutree_prepare_cpu(unsigned int cpu)

Type:int

Parameter:

TypeParameterName
unsigned intcpu
3053  rdp = per_cpu_ptr( & rcu_data, cpu)
3054  rnp = Return the root node of the rcu_state structure.
3057  raw_spin_lock_irqsave_rcu_node(rnp, flags)
3058  different grace periods. = 0
3059  qlen at last check for QS forcing = Number of calls to
3060  Upper limit on a processed batch = blimit
3061  If Is the specified rcu_segcblist structure empty?* But careful! The fact that the ->head field is NULL does not* necessarily imply that there are no callbacks associated with* this structure. When callbacks are being invoked, they are* removed as a group && Not Is the specified rcu_segcblist offloaded? Then rcu_segcblist_init( & Segmented callback list, with )
3064  Track process nesting level. = 1
3065  Reset the current CPU's ->dynticks counter to indicate that the* newly onlined CPU is no longer in an extended quiescent state
3066  raw_spin_unlock_rcu_node(rnp)
3073  rnp = This CPU's leaf of hierarchy
3074  Wrappers for the rcu_node::lock acquire and release(rnp)
3075  CPU online at least once. = true
3076  Track rsp->rcu_gp_seq counter. = Track rsp->rcu_gp_seq.
3077  Track furthest future GP request. = Track rsp->rcu_gp_seq.
3078  norm = true
3079  Core waits for quiesc state. = false
3080  Is ->rcu_iw pending? = false
3081  ->gp_seq associated with ->rcu_iw. = Track rsp->rcu_gp_seq. - 1
3082  trace_rcu_grace_period(Name of structure. , Track rsp->rcu_gp_seq counter. , Strings used in tracepoints need to be exported via the* tracing system such that tools like perf and trace-cmd can* translate the string address pointers to actual text.("cpuonl"))
3083  raw_spin_unlock_irqrestore_rcu_node(rnp, flags)
3084  rcu_prepare_kthreads(cpu)
3085  rcu_spawn_cpu_nocb_kthread(cpu)
3087  Return 0
Caller
NameDescribe
rcu_init