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:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static void rcu_stall_kick_kthreads(void)

Type:void

Parameter:Nothing

129  If Not rcu_kick_kthreads Then Return
131  j = READ_ONCE(Time at which to kick )
132  If 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. )) Then
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  wake_up_process - Wake up a specific process*@p: The process to be woken up.* Attempt to wake up the nominated process and move it to the set of runnable* processes.* Return: 1 if the process was woken up, 0 if it was already running.
138  WRITE_ONCE(Time at which to kick , j + HZ)