函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:During early boot, any blocking grace-period wait automatically* implies a grace period

函数原型:static int rcu_blocking_is_gp(void)

返回类型:int

参数:

2716  如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PREEMPTION)则返回:The rcu_scheduler_active variable is initialized to the value* RCU_SCHEDULER_INACTIVE and transitions RCU_SCHEDULER_INIT just before the* first task is spawned恒等于RCU_SCHEDULER_INACTIVE
2718  might_sleep()
2719  禁止抢占()
2720  ret等于num_online_cpus()小于等于1
2721  禁用抢占和中断()
2722  返回:ret
调用者
名称描述
synchronize_rcusynchronize_rcu - wait until a grace period has elapsed
synchronize_rcu_expeditedsynchronize_rcu_expedited - Brute-force RCU grace period* Wait for an RCU grace period, but expedite it