Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Complain about starvation of grace-period kthread.

Proto:static void rcu_check_gp_kthread_starvation(void)

Type:void

Parameter:Nothing

335  gpk = Task for grace periods.
338  j = jiffies - READ_ONCE(Time of last GP kthread )
339  If j > 2 * HZ Then
340  pr_err("%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 ? run state : ~0, gpk ? task_cpu(gpk) : - 1)
346  If gpk Then
347  pr_err("RCU grace-period kthread stack dump:\n")