Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Called with preemption disabled, and from cross-cpu IRQ context.

Proto:static void rcu_barrier_func(void *unused)

Type:void

Parameter:

TypeParameterName
void *unused
2893  rdp = raw_cpu_ptr( & rcu_data)
2895  Helper function for rcu_barrier() tracing. If tracing is disabled,* the compiler is expected to optimize this away.
2896  func = RCU callback function for rcu_barrier(). If we are last, wake* up the task executing rcu_barrier().
2897  debug_rcu_head_queue()/debug_rcu_head_unqueue() are used internally* by call_rcu() and rcu callback execution, and are therefore not part* of the RCU API. These are in rcupdate.h because they are used by all* RCU implementations.
2898  rcu_nocb_lock(rdp)
2899  WARN_ON_ONCE(!rcu_nocb_flush_bypass(rdp, NULL, jiffies))
2900  If Entrain the specified callback onto the specified rcu_segcblist at* the end of the last non-empty segment. If the entire rcu_segcblist* is empty, make no change, but return false.* This is intended for use by rcu_barrier()-like primitives, -not- Then
2901  atomic_inc( & # CPUs waiting on. )
2902  Else
2903  debug_rcu_head_unqueue( & 4) rcu_barrier(), OOM callbacks, and expediting. )
2904  Helper function for rcu_barrier() tracing. If tracing is disabled,* the compiler is expected to optimize this away.
2907  rcu_nocb_unlock(rdp)