linux kernel and user space通信机制,Linux内核空间与用户空间通信机制地研究.doc
實用文案
標(biāo)準(zhǔn)文檔
Linux內(nèi)核空間與用戶空間通信機(jī)制的研究
Linux kernel space and user space communication mechanism
摘 要
Linux 是一個源碼開放的操作系統(tǒng),無論是普通用戶還是企業(yè)用戶都可以編寫自己的內(nèi)核代碼,再加上對標(biāo)準(zhǔn)內(nèi)核的裁剪從而制作出適合自己的操作系統(tǒng),深受大家喜愛。Linux系統(tǒng)中,在使用虛擬內(nèi)存技術(shù)的多任務(wù)系統(tǒng)上,內(nèi)核和用戶有不同的地址空間,因此,在內(nèi)核與用戶之間進(jìn)行數(shù)據(jù)交換需要專門的機(jī)制來實現(xiàn)。一個或多個內(nèi)核模塊的實現(xiàn)并不能滿足一般 Linux 系統(tǒng)軟件的需要,因為內(nèi)核的局限性太大,內(nèi)核空間與用戶空間進(jìn)程通信的方法就顯得尤為重要。本文將列舉幾種內(nèi)核態(tài)與用戶態(tài)進(jìn)程通信的方法:Netlink通信機(jī)制,基于文件系統(tǒng)的通信機(jī)制,內(nèi)核啟動參數(shù)通信機(jī)制,并用實驗板對幾種重要的通信機(jī)制進(jìn)行驗證,詳細(xì)分析它們的實現(xiàn)和適用環(huán)境,優(yōu)缺點,并做出比較。提供用戶適合使用這種通信機(jī)制的環(huán)境,以便更好的運用Linux操作系統(tǒng)。
關(guān)鍵字 內(nèi)核空間 用戶空間 地址空間
ABSTRACT
Linux is an open source operating system, whether ordinary users or business users can write your own kernel code, with the modification of the standard kernel,everyone can make up their own operating system, which makes Linux popular.In Linux systems, in the use of multi-tasking system with virtual memory technology, the kernel and the user have different address spaces, so the change of data between kernel and user needs Special Method to achieve. One or more kernel modules can not meet the general needs of Linux system software, just because the limitations of the kernel, make it important that the process communication method between kernel space and user space. In this article I will list some kernel mode and user mode process communication methods: Netlink communication mechanism, communication mechanism based on the file system, the kernel boot parameters of communication mechanism. I will analysis of their implementation, application environment, the advantages and disadvantages in detail, and make the comparison. I will provide users with suitable environment for each communication mechanism in order to let others make good use of Linux operating system.
Keywords kernel space user space address spaces
標(biāo)準(zhǔn)文檔
目 錄
TOC \o "1-2" \h \z \u HYPERLINK \l "_Toc294014233" 第一章 緒論 PAGEREF _Toc294014233 \h 1
HYPERLINK \l "_Toc294014234" 1.1 操作系統(tǒng)發(fā)展史 PAGEREF _Toc294014234 \h 1
HYPERLINK \l "_Toc294014235" 1.2 選題背景及研究意義 PAGEREF _Toc294014235 \h 2
HYPERLINK \l "_Toc294014236" 1.3 主要工作 PA
總結(jié)
以上是生活随笔為你收集整理的linux kernel and user space通信机制,Linux内核空间与用户空间通信机制地研究.doc的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 极米h1安装最新版本WiFi信号不好
- 下一篇: linux待机流程,Linux睡眠喚醒機