函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Awaken the grace-period kthread

函数原型:static void rcu_gp_kthread_wake(void)

返回类型:void

参数:

1257  如果当前进程恒等于Task for grace periods. 且非Are we doing bottom half or hardware interrupt processing?* in_irq() - We're in (hard) IRQ context* in_softirq() - We have BH disabled, or are processing softirqs* in_interrupt() - We're in NMI,IRQ,SoftIRQ context or have BH disabled* in_serving_softirq() ()且非in_serving_softirq()或非READ_ONCE(Commands for GP task. )或非Task for grace periods. 则返回
1262  WRITE_ONCE(Last GP kthread wake. , jiffies)
1263  WRITE_ONCE(->gp_seq at ^^^. , READ_ONCE(Grace-period sequence #. ))
1264  swake_up_one( & Where GP task waits. )
调用者
名称描述
rcu_accelerate_cbs_unlockedSimilar to rcu_accelerate_cbs(), but does not require that the leaf* rcu_node structure's ->lock be held
note_gp_changes
rcu_report_qs_rspReport a full set of quiescent states to the rcu_state data structure
rcu_report_qs_rdpRecord a quiescent state for the specified CPU to that CPU's rcu_data* structure. This must be called from the specified CPU.
rcu_force_quiescent_stateForce quiescent states on reluctant CPUs, and also detect which* CPUs are in dyntick-idle mode.