摘要
Linux内核采用了可装载的模块,文章首先提出了实现这一机制所要解决的问题。然后详细分析了Linux中用于实现模块的主要数据结构struct module,struct module_symbol,struct module_ref以及由它们组成的模块链表、符号表、依赖表、引用链表。在此基础之上,阐明了Linux是如何使用这些数据结构来完成内核模块的加载与卸载过程的。
Linux kernel uses loadable modules. To implement this kind of mechanism, some technique is proposed in this paper firstly. Then the major data structure, which linux adopts to implement module, is detailedly analysing。The data structure include struct module, struct module_symbol, struct module_ref and tables or lists consisting by them, such as module list, symbol table, dependency table and reference list. Finally, how to load and unload modules using these data structures is explained.
出处
《微电子学与计算机》
CSCD
北大核心
2001年第3期29-32,共4页
Microelectronics & Computer