Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Awaken the grace-period kthread

Proto:static void rcu_gp_kthread_wake(void)

Type:void

Parameter:Nothing

1257  If current process == Task for grace periods. && Not 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() () && Not in_serving_softirq() || Not READ_ONCE(Commands for GP task. ) || Not Task for grace periods. Then Return
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. )
Caller
NameDescribe
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.