函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Complain about starvation of grace-period kthread.

函数原型:static void rcu_check_gp_kthread_starvation(void)

返回类型:void

参数:

335  gpk等于Task for grace periods.
338  j等于jiffiesREAD_ONCE(Time of last GP kthread )
339  如果j大于2乘HZ
340  打印错误信息("%s kthread starved for %ld jiffies! g%ld f%#x %s(%d) ->state=%#lx ->cpu=%d\n", Name of structure. , j, (long)Return the current value the update side's sequence number, no ordering. , READ_ONCE(Commands for GP task. ), Convert a ->gp_state value to a character string., GP kthread sleep state. , gpk ? 任务状态 : ~0, gpk ? task_cpu(gpk) : - 1)
346  如果gpk
347  打印错误信息("RCU grace-period kthread stack dump:\n")
调用者
名称描述
print_other_cpu_stall
print_cpu_stall