函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Handle any core-RCU processing required by a call_rcu() invocation.

函数原型:static void __call_rcu_core(struct rcu_data *rdp, struct callback_head *head, unsigned long flags)

返回类型:void

参数:

类型参数名称
struct rcu_data *rdp
struct callback_head *head
unsigned longflags
2538  如果非_is_watching - see if RCU thinks that the current CPU is not idle* Return true if RCU is watching the running CPU, which means that this* CPU can safely enter RCU read-side critical sectionsinvoke_rcu_core()
2542  如果设置中断标志(flags)或cpu_is_offline(当前cpu ID())则返回
2552  如果此条件成立可能性小(为编译器优化)(Return number of callbacks in segmented callback list. > different grace periods. + qhimark)则
2556  note_gp_changes(rdp)
2561  否则
调用者
名称描述
__call_rcuHelper function for call_rcu() and friends. The cpu argument will* normally be -1, indicating "currently running CPU". It may specify* a CPU only if that CPU is a no-CBs CPU. Currently, only rcu_barrier()* is expected to specify a CPU.