函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Give the scheduler a chance, even on nohz_full CPUs.

函数原型:static void rcu_torture_fwd_prog_cond_resched(unsigned long iter)

返回类型:void

参数:

类型参数名称
unsigned longiter
1733  如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PREEMPT)且IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_NO_HZ_FULL)则
1735  如果need_resched()或iter按位与0xfff则进程调度
1737  返回
1740  cond_resched()
调用者
名称描述
rcu_torture_fwd_prog_cbfreeFree all callbacks on the rcu_fwd_cb_head list, either because the* test is over or because we hit an OOM event.
rcu_torture_fwd_prog_crCarry out call_rcu() forward-progress testing.