Sony Proposes A New Soft Watchdog For Linux

Written by Michael Larabel in Linux Kernel on 24 April 2021 at 07:11 AM EDT. 42 Comments
LINUX KERNEL
Sony Linux engineer Peter Enderborg has proposed a soft watchdog for the Linux kernel to carry out pre-defined tasks in certain situations but not being like hardware watchdogs that would reboot the system if a problem crops up.

This proposed "softwatchdog" would carry out tasks besides a hard reboot. such as taking pre-defined action if the system is running slow or on low memory situations.

This soft watchdog could be integrated with various low-memory / out-of-memory daemons for helping take action on memory hungry / low priority applications when such conditions appear. This soft watchdog can also work standalone to take action itself in out-of-memory situations to kill processes. Other policies could also be created.

The soft watchdog proposal sent out today is a "request for comments" so we'll see at this point where the work leads. For Sony's part in this appears to be motivated for Android/embedded use-cases.

This soft watchdog proposal can be found on the kernel mailing list.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week