Title :
The comparison of communication methods between user and Kernel space in embedded Linux
Author :
Wang, Bei ; Wang, Bo ; Xiong, Qingqing
Author_Institution :
Wuhan Res. Inst. of Posts & Telecommun., Wuhan, China
Abstract :
Many communication methods between Kernel and User Space in Linux operation system are simply illustrated in this paper. It includes Kernel Boot Parameters, Module Parameters and Sysfs, Sysctl, System Call, Netlink, Procfs, Seq_file, Debugfs and Relayfs. And system call and procfs are used more extensively than any other methods. Then two Inter-Process Communication (IPC) methods, Netlink and /proc, are fully compared. Based on the advantages of netlink, netlink socket can substitute for /proc and be extensively applied in embedded Linux. Finally, an application of Netlink on GPON ONU is introduced in detail, which helps to debug software in the period of development.
Keywords :
Linux; operating system kernels; software engineering; Debugfs; GPON ONU; Kernel boot parameters; Kernel space; Linux operation system; Netlink; Procfs; Relayfs; Seqfile; Sysctl; Sysfs; System Call; communication methods; embedded Linux; inter-process communication methods; module parameters; user space; Aerospace electronics; File systems; Kernel; Linux; Optical network units; Protocols; Sockets; Inter-Process Communication; kernel space; netlink; proc; user space;
Conference_Titel :
Computational Problem-Solving (ICCP), 2010 International Conference on
Conference_Location :
Lijiang
Print_ISBN :
978-1-4244-8654-0