Title :
Serialdriver: improving the reliability of device drivers through serialization
Author :
Ma, Chao ; Zhao, Peng ; Hu, Shi-Min
Author_Institution :
Dept. of Comput. Sci. & Technol., Tsinghua Univ., Beijing, China
fDate :
8/1/2012 12:00:00 AM
Abstract :
A great number of consumer electronic devices have emerged in recent years. To support these devices, many device drivers have been developed. These device drivers usually work in operating systems. Improper concurrency management causes lots of device driver bugs and the drivers´ failures often lead to operating system crashes. Various approaches have been proposed to solve this problem, some of which use serialization to avoid the concurrency faults. However, these methods need to rewrite all the device drivers. This paper proposes SerialDriver, a new architecture to solve the concurrency faults of device drivers based on serialization. The proposed SerialDriver is composed of three components: an interface adapter, a message queue and a request processing thread. With the help of the interface adapter, SerialDriver gets rid of the need for reimplementing device drivers. In SerialDriver, requests from kernel threads to a device driver are placed in a message queue. The request processing thread of SerialDriver delivers these requests to the device driver sequentially. Extensive evaluation results show that SerialDriver serializes requests for a device driver successfully and the overhead incurred by SerialDriver is acceptable.
Keywords :
consumer electronics; operating systems (computers); program debugging; software reliability; SerialDriver; concurrency management; consumer electronic devices; device driver bugs; device driver reliability; interface adapter; operating system; operating systems; Computer bugs; Concurrent computing; Kernel; Message systems; Performance evaluation; Reliability; concurrency bug; device driver; reliability; serialization;
Journal_Title :
Consumer Electronics, IEEE Transactions on
DOI :
10.1109/TCE.2012.6311358