lockup_dete...pdate_enable(9)
π lockup_dete...pdate_enable(9) π
okay bestie, welcome to the Kernel API Manual, section 9 β yes we're reading kernel internals together, this is our bonding era π«Ά
β¨ NAME β¨
lockup_detector_update_enable β the little function that just updates the sysctl enable bit. that's it. that's the whole job. lowkey iconic for how humble it is π
πΈ SYNOPSIS πΈ
void lockup_detector_update_enable (void );
π¦ ARGUMENTS π¦
voidβ no arguments, bestie. zero. nada. it takes nothing and it needs nothing, main character energy fr π
π DESCRIPTION π
so here's the tea β β the caller needs to make sure that the hard watchdogs are off first. like, not optional, not "eh probably fine", actually off. because if they're not, this function can race with watchdog_hardlockup_disable, and we do not do races in this house π
no cap, that's a real requirement β hard watchdogs off before you call this, or the race condition comes for you π
π₯ SEE ALSO π₯
- the kernel file
./kernel/watchdog.cβ go read it, it's giving source of truth β¨ watchdog_hardlockup_stop(9)watchdog_hardlockup_start(9)touch_softlockup_watchdog_sched(9)lockup_detector_soft_poweroff(9)
and that's the whole page, bestie π this lil drop comes to you from the ./kernel source, dated October 2026, and it's filed under lockup_dete...pdate_enable(9) β mwah, drink water, go touch grass, then go read watchdog.c ππ§ββοΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms