The Research of Communication Mechanism between Linux Kernel and User-space
Zhu Cheng-rong
Abstract
Zhu Cheng-rong
Abstract
The architecture of Linux is designed as monolithic kernel,this makes Linux simple,efficient,secure.Since all Linux subsystems are contained in its kernel,while most system configuration and management tools are running in user-space,developers have to find a proper way to communicate between kernel and user-space.The author introduces several usual mechanisms: device node is used for driv er development,to create a device driver interface is complicated than other methods;/proc file is easy to create and use,but it can not transfer large message;netlink sockets is a highly extensible message mechanism,more and more system tools use this mechanism,even though its transfer speed is low;memory-mapped I/O is fastest,but its misuse will cause system failure.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
The architecture of Linux is designed as monolithic kernel,this makes Linux simple,efficient,secure.Since all Linux subsystems are contained in its kernel,while most system configuration and management tools are running in user-space,developers have to find a proper way to communicate between kernel and user-space.The author introduces several usual mechanisms: device node is used for driv er development,to create a device driver interface is complicated than other methods;/proc file is easy to create and use,but it can not transfer large message;netlink sockets is a highly extensible message mechanism,more and more system tools use this mechanism,even though its transfer speed is low;memory-mapped I/O is fastest,but its misuse will cause system failure.
Key concepts: Computer science, User space, Linux kernel, Configfs, Operating system, sysfs, Kernel (algebra), System call