函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:If too much time has passed in the current grace period, and if* so configured, go kick the relevant kthreads.

函数原型:static void rcu_stall_kick_kthreads(void)

返回类型:void

参数:

129  如果非rcu_kick_kthreads则返回
131  j等于READ_ONCE(Time at which to kick )
132  如果These inlines deal with timer wrapping correctly. You are * strongly encouraged to use them* 1. Because people otherwise forget* 2. Because if the timer wrap changes in future you won't have to* alter your driver code.(jiffies, j)且Task for grace periods. Return true if an RCU grace period is in progress. The READ_ONCE()s* permit this function to be invoked without holding the root rcu_node* structure's ->lock, but of course results can be subject to change.READ_ONCE(Commands for GP task. )的值则
134  WARN_ONCE(1, "Kicking %s grace-period kthread\n", Name of structure. )
136  Dump the ftrace buffer, but only one time per callsite per boot.(DUMP_ALL)
137  唤醒中断线程
138  WRITE_ONCE(Time at which to kick , j + HZ)
调用者
名称描述
print_other_cpu_stall
print_cpu_stall
check_cpu_stall