函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Let the RCU core know that this CPU has gone through the scheduler,* which is a quiescent state

函数原型:void rcu_momentary_dyntick_idle(void)

返回类型:void

参数:

371  raw_cpu_write(rcu_need_heavy_qs, false)
372  special等于atomic_add_return(2 * RCU_DYNTICK_CTRL_CTR, & dynticks)
375  WARN_ON_ONCE(!(special & RCU_DYNTICK_CTRL_CTR))
376  rcu_preempt_deferred_qs(当前进程)
调用者
名称描述
rcu_torture_fwd_prog_cbfreeFree all callbacks on the rcu_fwd_cb_head list, either because the* test is over or because we hit an OOM event.
rcu_torture_fwd_prog_crCarry out call_rcu() forward-progress testing.
multi_cpu_stopThis is the cpu_stop function which stops the CPU.
rcu_all_qsRegister an urgently needed quiescent state. If there is an* emergency, invoke rcu_momentary_dyntick_idle() to do a heavy-weight* dyntick-idle quiescent state visible to other CPUs, which will in
rcu_note_context_switchNote a PREEMPT=n context switch. The caller must have disabled interrupts.