函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Register 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

函数原型:void rcu_all_qs(void)

返回类型:void

参数:

822  如果非Operations for contexts where we do not want to do any checks for* preemptions(rcu_urgent_qs)则返回
824  禁止抢占()
826  如果非smp_load_acquire(this_cpu_ptr( & rcu_urgent_qs))则
827  禁用抢占和中断()
828  返回
830  抢占保护下的写CPU(rcu_urgent_qs, false)
831  如果此条件成立可能性小(为编译器优化)(Operations for contexts where we do not want to do any checks for* preemptions(rcu_need_heavy_qs))则
832  local_irq_save(flags)
833  Let the RCU core know that this CPU has gone through the scheduler,* which is a quiescent state
834  local_irq_restore(flags)
836  Note a quiescent state for PREEMPT=n. Because we do not need to know* how many quiescent states passed, just if there was at least one since* the start of the grace period, this just sets a flag. The caller must* have disabled preemption.
837  禁用抢占和中断()
调用者
名称描述
_cond_resched