函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:srcu_read_delay

函数原型:static void srcu_read_delay(struct torture_random_state *rrsp, struct rt_read_seg *rtrsp)

返回类型:void

参数:

类型参数名称
struct torture_random_state *rrsp
struct rt_read_seg *rtrsp
524  uspertick等于1000000除HZ
525  longdelay等于10
529  delay等于torture_random(rrsp)取模nrealreaders乘2乘longdelayuspertick
531  如果非delayin_task()则
532  schedule_timeout_interruptible(longdelay)
533  rt_delay_jiffies等于longdelay
534  否则
535  rcu_read_delay(rrsp, rtrsp)