×

METHODS, SYSTEMS, AND COMPUTER READABLE MEDIA FOR MEMORY ALLOCATION AND DEALLOCATION

  • US 20100030994A1
  • Filed: 12/19/2008
  • Published: 02/04/2010
  • Est. Priority Date: 08/01/2008
  • Status: Abandoned Application
First Claim
Patent Images

1. A method for allocation and de-allocation of memory, the method comprising:

  • dividing a memory space into a plurality of records of fixed size;

    maintaining an allocation map for indicating, for each record in the memory space, whether the record is allocated or unallocated;

    maintaining a set of lists of unallocated blocks, wherein a block is a group of contiguous records, wherein the size of a block is the number of contiguous records in the block, and wherein each list lists unallocated blocks of a particular size; and

    processing requests for allocation and de-allocation of memory, wherein processing a request for memory allocation includes using the set of lists to find an unallocated block of the smallest size that is equal to or greater than the amount of memory requested to be allocated, and wherein processing a request for memory de-allocation includes using the allocation map to combine the deallocated memory block with an unallocated block contiguous to the deallocated memory block and add the combined blocks to the list indicating unallocated blocks of the size of the combined memory blocks.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×