Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:srcu_read_delay

Proto:static void srcu_read_delay(struct torture_random_state *rrsp, struct rt_read_seg *rtrsp)

Type:void

Parameter:

TypeParameterName
struct torture_random_state *rrsp
struct rt_read_seg *rtrsp
524  uspertick = 1000000 / HZ
525  longdelay = 10
529  delay = torture_random(rrsp) % nrealreaders * 2 * longdelay * uspertick
531  If Not delay && in_task() Then
532  schedule_timeout_interruptible(longdelay)
533  rt_delay_jiffies = longdelay
534  Else
535  rcu_read_delay(rrsp, rtrsp)