Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lockup_detector_update_enable - Update the sysctl enable bit* Caller needs to make sure that the NMI/perf watchdogs are off, so this* can't race with watchdog_nmi_disable().

Proto:static void lockup_detector_update_enable(void)

Type:void

Parameter:Nothing

153  watchdog_enabled = 0
154  If Not watchdog_user_enabled Then Return
156  If nmi_watchdog_available && nmi_watchdog_user_enabled Then watchdog_enabled |= NMI_WATCHDOG_ENABLED
158  If soft_watchdog_user_enabled Then watchdog_enabled |= SOFT_WATCHDOG_ENABLED
Caller
NameDescribe
lockup_detector_reconfigure