Linux内核中内存池的实现及应用  被引量:6

Implementation and application of the memory pool in Linux kernel

在线阅读下载全文

作  者:王小银[1] 陈莉君[1] 

机构地区:[1]西安邮电学院计算机学院,陕西西安710121

出  处:《西安邮电学院学报》2011年第4期40-43,共4页Journal of Xi'an Institute of Posts and Telecommunications

基  金:西安邮电学院中青年科研基金资助项目(103-0439)

摘  要:基于对Linux操作系统内存管理机制、算法和模式的分析,详细解读Linux内核2.6版本中有关内存池的定义内涵,明确内存池的创建方法和调用原理,并给出内存池在网络文件系统中的应用。实验表明,在内存实现及用户程序中使用内存池进行内存管理,可以减少内存碎片,提高分配速度,防止内存泄露。After that the memory management pattern of Linux is analyzed,the definition of the memory pool in the kernel(version 2.6) of Linux is unscrambled,and the methods to create or transfer the memory pool are nailed down,besides,an example is given to show how the memory pool works in network file system.Experiments show that,when the memory pool is introduced for memory management into memory implementation and user program,the number of memory pieces will be reduced,the speed of distribution will be improved,and the leaks of memory will be avoided.

关 键 词:LINUX内核 内存池 内存管理 

分 类 号:TP316.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象