<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://elinux.org/index.php?title=Mainline_the_watchdog_framework_for_the_Linux_kernel&amp;feed=atom&amp;action=history</id>
		<title>Mainline the watchdog framework for the Linux kernel - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=Mainline_the_watchdog_framework_for_the_Linux_kernel&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Mainline_the_watchdog_framework_for_the_Linux_kernel&amp;action=history"/>
		<updated>2013-05-19T21:57:56Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=Mainline_the_watchdog_framework_for_the_Linux_kernel&amp;diff=32653&amp;oldid=prev</id>
		<title>Tim Bird: Created page with &quot;; Summary: Mainline the watchdog framework for the Linux kernel  ; Proposer: Wolfram Sang  == Description == The watchdog API of the Linux kernel is documented and has been in us...&quot;</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Mainline_the_watchdog_framework_for_the_Linux_kernel&amp;diff=32653&amp;oldid=prev"/>
				<updated>2011-01-25T17:31:09Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;; Summary: Mainline the watchdog framework for the Linux kernel  ; Proposer: Wolfram Sang  == Description == The watchdog API of the Linux kernel is documented and has been in us...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;; Summary: Mainline the watchdog framework for the Linux kernel&lt;br /&gt;
&lt;br /&gt;
; Proposer: Wolfram Sang&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The watchdog API of the Linux kernel is documented and has been in use for&lt;br /&gt;
years. Yet, there is no abstraction for its common functionality (open, write,&lt;br /&gt;
ioctl, close), so every watchdog driver has to implement those methods on its&lt;br /&gt;
own. In addition to the vast amount of code duplication in the kernel source,&lt;br /&gt;
this is also error-prone as there are subtle corner-cases in handling the&lt;br /&gt;
watchdog and the userspace input correctly. Although there is code review for&lt;br /&gt;
new drivers, it seems very desirable to improve the situation as a whole.&lt;br /&gt;
&lt;br /&gt;
There is a draft for a generic framework by the watchdog maintainer (see&lt;br /&gt;
related work). Its development is quite slow, though. The current state already&lt;br /&gt;
took years and was still not proposed for mainline inclusion. This proposal&lt;br /&gt;
aims to improve the situation by&lt;br /&gt;
&lt;br /&gt;
1) upstreaming the framework&lt;br /&gt;
2) converting some drivers to create a reference&lt;br /&gt;
3) adding a HOWTO for this conversion&lt;br /&gt;
&lt;br /&gt;
Although watchdogs are usually rather simple devices, they are crucial for the&lt;br /&gt;
stability concept of an enormous number of devices. The benefit of this&lt;br /&gt;
proposal is to have a rock-solid, well maintainable and trustworthy watchdog&lt;br /&gt;
framework, which can improve the existing implementations and makes writing new&lt;br /&gt;
drivers faster and less error-prone.&lt;br /&gt;
&lt;br /&gt;
== Related work ==&lt;br /&gt;
* Current state by Wim van Sebroeck (watchdog maintainer):&lt;br /&gt;
** http://git.kernel.org/?p=linux/kernel/git/wim/linux-2.6-watchdog-next.git;a=shortlog;h=refs/heads/generic-watchdog&lt;br /&gt;
&lt;br /&gt;
== Scope ==&lt;br /&gt;
My estimate would be 2-3 weeks of development, review and testing.&lt;br /&gt;
&lt;br /&gt;
== Contractor Candidates ==&lt;br /&gt;
Wim van Sebroeck as the watchdog maintainer would be the first candidate for&lt;br /&gt;
1). I'd like to nominate myself to do 2) and 3) with a focus on embedded&lt;br /&gt;
platforms. I would also assist 1) by either doing a thorough peer-review of the code&lt;br /&gt;
or by taking care of the mainline process in case Wim does not have time for it&lt;br /&gt;
(keeping his credits, of course).&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Project proposals 2011]]&lt;/div&gt;</summary>
		<author><name>Tim Bird</name></author>	</entry>

	</feed>