函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:force_qs_rnp

函数原型:static void force_qs_rnp(int (*f)(struct rcu_data *rdp))

返回类型:void

参数:

类型参数名称
int (*f
2294  cond_resched_tasks_rcu_qs - Report potential quiescent states to RCU* This macro resembles cond_resched(), except that it is defined to* report potential quiescent states to RCU-tasks even if the cond_resched()()
2295  mask等于0
2296  raw_spin_lock_irqsave_rcu_node(rnp, flags)
2297  如果CPUs or groups that need to switch in 恒等于0则
2307  继续下一循环
2309  raw_spin_unlock_irqrestore_rcu_node(rnp, flags)
2310  继续下一循环
2313  bit等于Bitmasks in an rcu_node cover the interval [grplo, grphi] of CPU IDs, and* are indexed relative to this interval rather than the global CPU ID space.* This generates the bit for a CPU in node-local masks.(rnp, cpu)
2314  如果CPUs or groups that need to switch in 按位与bit的值不等于0则
2315  rdp等于per_cpu_ptr( & rcu_data, cpu)
2316  如果f(rdp)则
2322  如果mask不等于0则
2324  Similar to rcu_report_qs_rdp(), for which it is a helper function
2325  否则
2327  raw_spin_unlock_irqrestore_rcu_node(rnp, flags)
调用者
名称描述
rcu_gp_fqsDo one round of quiescent-state forcing.