函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:static int lock_torture_stats(void *arg)

返回类型:int

参数:

类型参数名称
void *arg
763  VERBOSE_TOROUT_STRING("lock_torture_stats task started")
764  循环
765  schedule_timeout_interruptible(stat_interval * HZ)
766  Print torture statistics
767  Test auto-shutdown handling.
768  当非Is it time for the current torture test to stop?循环
769  Each kthread must wait for kthread_should_stop() before returning from* its top-level function, otherwise segfaults ensue
770  返回:0