Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Per-CPU kernel thread that invokes RCU callbacks. This replaces* the RCU softirq used in configurations of RCU that do not support RCU* priority boosting.

Proto:static void rcu_cpu_kthread(unsigned int cpu)

Type:void

Parameter:

TypeParameterName
unsigned intcpu
2474  statusp = this_cpu_ptr( & rcu_cpu_kthread_status)
2475  workp = this_cpu_ptr( & rcu_cpu_has_work)
2478  When spincnt < 10 cycle
2479  Tracepoint for start/end markers used for utilization calculations.* By convention, the string is of the following forms:* "Start " -- Mark the start of the specified activity,* such as "context switch". Nesting is permitted.
2480  local_bh_disable()
2481  statusp = RCU_KTHREAD_RUNNING
2482  local_irq_disable()
2483  work = workp
2484  workp = 0
2485  The local_irq_*() APIs are equal to the raw_local_irq*()* if !TRACE_IRQFLAGS.()
2486  If work Then Perform RCU core processing work for the current CPU.
2488  local_bh_enable()
2489  If workp == 0 Then
2492  Return
2495  statusp = RCU_KTHREAD_YIELDING
2496  Tracepoint for start/end markers used for utilization calculations.* By convention, the string is of the following forms:* "Start " -- Mark the start of the specified activity,* such as "context switch". Nesting is permitted.
2497  schedule_timeout_interruptible(2)
2498  Tracepoint for start/end markers used for utilization calculations.* By convention, the string is of the following forms:* "Start " -- Mark the start of the specified activity,* such as "context switch". Nesting is permitted.
2499  statusp = RCU_KTHREAD_WAITING