Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:force_qs_rnp

Proto:static void force_qs_rnp(int (*f)(struct rcu_data *rdp))

Type:void

Parameter:

TypeParameterName
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  If CPUs or groups that need to switch in == 0 Then
2307  Continue
2309  raw_spin_unlock_irqrestore_rcu_node(rnp, flags)
2310  Continue
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)
2315  rdp = per_cpu_ptr( & rcu_data, cpu)
2316  If f(rdp) Then
2322  If mask != 0 Then
2324  Similar to rcu_report_qs_rdp(), for which it is a helper function
2325  Else
2327  raw_spin_unlock_irqrestore_rcu_node(rnp, flags)
Caller
NameDescribe
rcu_gp_fqsDo one round of quiescent-state forcing.