Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:During early boot, any blocking grace-period wait automatically* implies a grace period

Proto:static int rcu_blocking_is_gp(void)

Type:int

Parameter:Nothing

2716  If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PREEMPTION) Then Return 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  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
2720  ret = num_online_cpus() <= 1
2721  preempt_enable()
2722  Return ret
Caller
NameDescribe
synchronize_rcusynchronize_rcu - wait until a grace period has elapsed