Home
last modified time | relevance | path

Searched refs:watchdog_thresh (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.6/Documentation/translations/zh_CN/admin-guide/
Dlockup-watchdogs.rst37 Hrtimer用于周期性产生中断并唤醒watchdog线程;NMI perf事件则以”watchdog_thresh
38 (编译时默认初始化为10秒,也可通过”watchdog_thresh“这个sysctl接口来进行配置修改)
44 如果时间戳在2*watchdog_thresh(这个是softlockup的触发门限)这段时间都未更新,那么
48 Hrtimer定时器的周期是2*watchdog_thresh/5,也就是说在hardlockup被触发前hrtimer有
/Linux-v6.6/kernel/
Dwatchdog.c42 int __read_mostly watchdog_thresh = 10; variable
302 get_option(&str, &watchdog_thresh); in watchdog_thresh_setup()
318 return watchdog_thresh * 2; in get_softlockup_thresh()
409 if ((watchdog_enabled & WATCHDOG_SOFTOCKUP_ENABLED) && watchdog_thresh) { in is_softlockup()
631 if (watchdog_enabled && watchdog_thresh) in __lockup_detector_reconfigure()
662 !(watchdog_enabled && watchdog_thresh)) in lockup_detector_setup()
808 old = READ_ONCE(watchdog_thresh); in proc_watchdog_thresh()
811 if (!err && write && old != READ_ONCE(watchdog_thresh)) in proc_watchdog_thresh()
853 .data = &watchdog_thresh,
Dwatchdog_perf.c120 wd_attr->sample_period = hw_nmi_get_sample_period(watchdog_thresh); in hardlockup_detector_event_create()
Dworkqueue.c6499 module_param_cb(watchdog_thresh, &wq_watchdog_thresh_ops, &wq_watchdog_thresh,
/Linux-v6.6/arch/arm64/kernel/
Dwatchdog_hld.c16 u64 hw_nmi_get_sample_period(int watchdog_thresh) in hw_nmi_get_sample_period() argument
25 return (u64)max_cpu_freq * watchdog_thresh; in hw_nmi_get_sample_period()
/Linux-v6.6/arch/x86/kernel/apic/
Dhw_nmi.c27 u64 hw_nmi_get_sample_period(int watchdog_thresh) in hw_nmi_get_sample_period() argument
29 return (u64)(cpu_khz) * 1000 * watchdog_thresh; in hw_nmi_get_sample_period()
/Linux-v6.6/include/linux/
Dnmi.h23 extern int watchdog_thresh;
208 u64 hw_nmi_get_sample_period(int watchdog_thresh);
/Linux-v6.6/Documentation/admin-guide/
Dlockup-watchdogs.rst42 job. An NMI perf event is generated every "watchdog_thresh"
52 for 2*watchdog_thresh seconds (the softlockup threshold) the
58 The period of the hrtimer is 2*watchdog_thresh/5, which means it has
Dkernel-parameters.txt7071 watchdog_thresh=
7086 workqueue.watchdog_thresh=
/Linux-v6.6/arch/powerpc/kernel/
Dwatchdog.c534 u64 threshold = watchdog_thresh; in watchdog_calc_timeouts()
546 wd_timer_period_ms = watchdog_thresh * 1000 * 2 / 5; in watchdog_calc_timeouts()
Dsetup_64.c903 u64 hw_nmi_get_sample_period(int watchdog_thresh) in hw_nmi_get_sample_period() argument
905 return ppc_proc_freq * watchdog_thresh; in hw_nmi_get_sample_period()
/Linux-v6.6/Documentation/admin-guide/sysctl/
Dkernel.rst656 ``watchdog_thresh`` when calculating the NMI watchdog timeout during an
660 watchdog is set to 30s (based on ``watchdog_thresh`` equal to 10).
1658 watchdog_thresh chapter
1665 The softlockup threshold is (``2 * watchdog_thresh``). Setting this
/Linux-v6.6/lib/
DKconfig.debug1032 mode for more than 20 seconds (configurable using the watchdog_thresh
1140 using the watchdog_thresh sysctl).
1200 "workqueue.watchdog_thresh" and its sysfs counterpart.