节点文献

Buddy算法的μC/OS-Ⅱ高可靠内存管理方案

Strategy of Higher Reliability Memory Management in μC/OS-Ⅱ with Buddy Algorithm

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 国庆波郭兵沈艳

【Author】 Guo Qingbo1,Guo Bing1,Shen Yan2(1.School of Computer Science & Engineering,Sichuan University,Chengdu 610065,China;2.University of Electronic Science & Technology of China)

【机构】 四川大学计算机学院电子科技大学

【摘要】 针对现有μC/OS-II内存管理方案分配内存不灵活、可靠性不高的特点,提出一种适用于μC/OS-II增强内存管理可靠性的方案。该方案借鉴Buddy算法的思想,将可用内存划分为一系列2的幂次方规模大小的内存块,申请小块内存得不到分配时可以将大块内存块平分后得到满足。回收内存块时,地址连续的相同大小的内存块可以合并成大内存块,并采用索引结构数组快速定位内存块的方法。对比实验表明,新方案的可靠性比原方案提高了4倍,内存管理更灵活。

【Abstract】 This paper proposes a highly reliable strategy of memory management for μC/OS-Ⅱ which originally has a low reliable and inflexible strategy of memory management.The new strategy divides the unused memory into a series of blocks whose size are regulatory power of 2.If the small memory blocks can’t meet the allocation requirement,it gets a half block of bigger memory blocks.When the memory block is retrieved,two memory blocks of same size and contiguous addresses can be combined into one bigger memory block.What’s more,the strategy uses the index array to locate the needed memory block quickly.Comparative experiments show that the reliability of the new strategy impoves 4 times higher than the original strategy and the memory management is more flexible.

【基金】 “863”计划基金资助项目(2008AA01Z105)(课题名称:基于软/硬件划分的嵌入式软件低功耗设计关键技术研究)
  • 【文献出处】 单片机与嵌入式系统应用 ,Microcontrollers & Embedded Systems , 编辑部邮箱 ,2011年07期
  • 【分类号】TP316.84
  • 【被引频次】8
  • 【下载频次】148
节点文献中: 

本文链接的文献网络图示:

本文的引文网络