Title :
Safe Device Driver Model Based on Kernel-mode JVM
Author :
Chen, Shan ; Zhou, Lingling ; Ying, Rendong ; Ge, Yi
Author_Institution :
Dept. of EE, Shanghai JiaoTong Univ., Shanghai, China
Abstract :
Researches have shown that device drivers account for most of the OS kernel crashes. In this paper we proposed a safe device driver model for the Linux OS, aiming at gaining an improvement on its reliability. Within this model, we are able to write device drivers in the type-safe language of Java, rather than the traditional C. Our main work includes the design of kernel-mode JVM which is suitable for running device drivers and the programming model of Java device driver. During the evaluation, by manually injecting bugs and observing the running results, we can see that Java device driver can effectively prevent various bugs from damaging the kernel and thus improve the reliability of operating system, only at the price of some degradation on system performance, which helps to demonstrate the viability of our approach. Mention that although we based our research on Linux, Java device driver model can also be applied to other operating systems, as long as the device drivers are accessed through standardized interfaces.
Keywords :
Java; Linux; device drivers; operating system kernels; program debugging; reliability; Java device driver; Linux OS; OS kernel crashes; bugs; kernel mode JVM; operating system reliability; safe device driver model; Data structures; Driver circuits; Java; Kernel; Linux; Memory management; Operating systems; Reliability; System performance; Writing; Java virtual machine; Linux; device driver; reliability;
Conference_Titel :
Virtualization Technology in Distributed Computing (VTDC), 2007 Second International Workshop on
Conference_Location :
Reno, NV
Print_ISBN :
978-0-7695-2915-8
DOI :
10.1145/1408654.1408657