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.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.