* CELF Project Proposal: Create a watchdog framework for the Linux kernel
@ 2009-12-17 23:02 Wolfram Sang
2009-12-17 23:10 ` Tim Bird
0 siblings, 1 reply; 2+ messages in thread
From: Wolfram Sang @ 2009-12-17 23:02 UTC (permalink / raw)
To: celinux-dev, linux-embedded
[-- Attachment #1: Type: text/plain, Size: 1747 bytes --]
Proposer: Wolfram Sang
Summary: Create a watchdog framework for the Linux kernel
Description: The watchdog API of the Linux kernel is documented and used for
years. Yet, there is no abstraction for its common functionality (open, write,
ioctl, close), so every watchdog driver has to implement those methods on its
own. In addition to the vast amount of code duplication in the kernel source,
this is also error-prone as there are subtle corner-cases in handling the
watchdog and the userspace-input correctly. Although there is code review for
new drivers, it seems very desirable to improve the situation as a whole.
There have been two approaches for a generic watchdog framework, one from Alan
Cox and one from Wim van Sebroeck, the current watchdog maintainer. Sadly,
nothing from those have made it to mainline so far. This is a bit surprising;
although watchdogs are usually rather simple devices, they are crucial for the
stability concept of an enormous number of devices. The benefit of this
proposal is to have a rock-solid, well maintainable and trustworthy watchdog
framework, which makes writing new drivers faster and less error-prone.
Related work:
* Proposal by Alan Cox:
http://git.kernel.org/?p=linux/kernel/git/wim/linux-2.6-watchdog-next.git;a=shortlog;h=refs/heads/alan-generic-watchdog
* Proposal by Wim van Sebroeck:
http://git.kernel.org/?p=linux/kernel/git/wim/linux-2.6-watchdog-next.git;a=shortlog;h=refs/heads/wim-generic-watchdog
Scope:
My estimation would be 4 weeks of development and testing
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-17 23:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-17 23:02 CELF Project Proposal: Create a watchdog framework for the Linux kernel Wolfram Sang
2009-12-17 23:10 ` Tim Bird
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.