<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Linux on Bharath's Blog</title><link>https://bharathbhushan1.github.io/blog/tags/linux/</link><description>Recent content in Linux on Bharath's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 29 Jun 2014 16:50:00 +0000</lastBuildDate><atom:link href="https://bharathbhushan1.github.io/blog/tags/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Linux Device Drivers</title><link>https://bharathbhushan1.github.io/blog/posts/2014-06-29-ldd-chapter-1/</link><pubDate>Sun, 29 Jun 2014 16:50:00 +0000</pubDate><guid>https://bharathbhushan1.github.io/blog/posts/2014-06-29-ldd-chapter-1/</guid><description>&lt;p&gt;I started reading &lt;a href="http://lwn.net/Kernel/LDD3/"&gt;LDD3&lt;/a&gt;. Here are some notes.&lt;/p&gt;
&lt;p&gt;A device driver implements mechanisms to support user policies about devices.
The important choices to be made by a driver writer are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;allow device to be opened multiple times&lt;/li&gt;
&lt;li&gt;decide how to handle concurrent requests&lt;/li&gt;
&lt;li&gt;allow sync and async apis&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Some of the functionality can be in a userland library and some in a userland
config program. Not everything needs to be in the kernel driver.&lt;/p&gt;</description></item></channel></rss>