发明名称 Fast, high reliability dynamic memory manager
摘要 A method and apparatus for allocating and deallocating memory in a multi-processing system. Each unit of user memory has an associated control block. All units of user memory are contiguous as are all control blocks. Available user memory blocks are stored in linked lists, one linked list for each range of user memory block sizes. When a user memory block is allocated, a memory block is seized using a linked list of adequate size memory blocks; the surplus of the adequate size memory block beyond what is needed in the request for user memory is retained as available user memory and is added to another appropriate linked list of available memory. When deallocating, both the memory block being deallocated and, if available, the previous and/or next memory block are added to create a merged memory block. The merged memory block is then restored as available memory and added to the appropriate one of the linked lists of available memory blocks while the previous and/or next memory blocks, if available, are removed from the list of available memory blocks of the size of the previous or next block.
申请公布号 US2005154851(A1) 申请公布日期 2005.07.14
申请号 US20040756861 申请日期 2004.01.14
申请人 CHARLES ANDREW A. 发明人 CHARLES ANDREW A.
分类号 G06F12/00;G06F12/02;(IPC1-7):G06F12/00 主分类号 G06F12/00
代理机构 代理人
主权项
地址
您可能感兴趣的专利