函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:RCU callback function for rcu_barrier(). If we are last, wake* up the task executing rcu_barrier().

函数原型:static void rcu_barrier_callback(struct callback_head *rhp)

返回类型:void

参数:

类型参数名称
struct callback_head *rhp
2879  如果atomic_dec_and_test( & # CPUs waiting on. )则
2880  Helper function for rcu_barrier() tracing. If tracing is disabled,* the compiler is expected to optimize this away.
2882  mplete: - signals a single thread waiting on this completion*@x: holds the state of this particular completion* This will wake up a single thread waiting on this completion. Threads will be* awakened in the same order in which they were queued.
2883  否则
2884  Helper function for rcu_barrier() tracing. If tracing is disabled,* the compiler is expected to optimize this away.