摘要
设备驱动是计算机系统可靠运行的前提.现有的设备驱动方法,数据要经过驱动层缓存向应用层拷贝、应用层缓存向存储设备拷贝的过程,当数据量比较大时,系统的响应速度会受到一定的限制.通过对Linux内核的对象机制和虚拟内存机制的研究,提出基于对象的内存映射型设备驱动方法,使用户进程直接访问设备内存以提高响应速度,并对该驱动的性能进行测试和评价.
The device driver is the prerequisite of a computer system for reliable operation. In the current device drivers, data are copied from the driver cache layer to the application layer and to the disk, and thus the system re- sponse speed will be restricted when the data volume is large. This paper discusses the object mechanism of the Linux kernel and the virtual memory facility by using the object-based and memory-mapped device drivers. Thus, the users can get direct access to the device memory to improve the response speed, and test and assess the driver performance.
出处
《云南民族大学学报(自然科学版)》
CAS
2012年第1期75-78,共4页
Journal of Yunnan Minzu University:Natural Sciences Edition
基金
重庆信息技术职业学院重大项目(201102)
关键词
设备驱动
内存映射
虚拟内存
基于对象
device driver
memory mapping
virtual memory
object-based