函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:static void rcu_cpu_kthread(unsigned int cpu)

返回类型:void

参数:

类型参数名称
unsigned intcpu
2474  statusp等于this_cpu_ptr( & rcu_cpu_kthread_status)
2475  workp等于this_cpu_ptr( & rcu_cpu_has_work)
2478 spincnt小于10循环
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  禁止中断()
2483  work等于workp
2484  workp等于0
2485  开中断()
2486  如果workPerform RCU core processing work for the current CPU.
2488  local_bh_enable()
2489  如果workp恒等于0则
2492  返回
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