函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Called with preemption disabled, and from cross-cpu IRQ context.

函数原型:static void rcu_barrier_func(void *unused)

返回类型:void

参数:

类型参数名称
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  如果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-
2901  atomic_inc( & # CPUs waiting on. )
2902  否则
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)