摘要: Linux是开源操作系统,内核运行时,会使用很多数据结构对象,即内核对象。如何高效地管理这些对象的创建、使用和回收,需一整套完善的管理机制。该文介绍了Slab内存缓冲区管理器的原理,以及Linux怎样使用Slab管理器管理内核中各种各样的内核对象。
关键词:
Slab管理器,
对象,
缓冲区
Abstract: The source codes of Linux OS are open. When Linux kernel is running, it uses a lot of structural objects , called kernel objects. How to manage the creation, usage and recycle of these objects requires a perfect management mechanism. This paper discusses the theory of Slab memory buffer manager and how to use Slab manager to manage all kinds of kernel objects in Linux kernel.
Key words:
Slab manager,
Object,
Buffer
黄应江;陈移风. Linux内核Slab内存缓冲区管理器[J]. 计算机工程, 2006, 32(24): 31-33.
HUANG Yingjiang; CHEN Yifeng. Linux Kernel Slab Memory Buffer Manager[J]. Computer Engineering, 2006, 32(24): 31-33.