Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\locktorture.c Create Date:2022-07-28 09:54:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:torture_rwsem_read_delay

Proto:static void torture_rwsem_read_delay(struct torture_random_state *trsp)

Type:void

Parameter:

TypeParameterName
struct torture_random_state *trsp
544  longdelay_ms = 100
547  If Not (torture_random(trsp) % nrealreaders_stress * 2000 * longdelay_ms ) Then mdelay(longdelay_ms * 2)
550  Else mdelay(longdelay_ms / 2)
552  If Not (torture_random(trsp) % nrealreaders_stress * 20000 ) Then