Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Periodically prints torture statistics, if periodic statistics printing* was specified via the stat_interval module parameter.* No need to worry about fullstop here, since this one doesn't reference* volatile state or register callbacks.

Proto:static int lock_torture_stats(void *arg)

Type:int

Parameter:

TypeParameterName
void *arg
763  VERBOSE_TOROUT_STRING("lock_torture_stats task started")
764  Do
765  schedule_timeout_interruptible(stat_interval * HZ)
766  Print torture statistics
767  Test auto-shutdown handling.
768  When Not Is it time for the current torture test to stop? cycle
769  Each kthread must wait for kthread_should_stop() before returning from* its top-level function, otherwise segfaults ensue
770  Return 0