×

Systems and methods for recovering memory

  • US 7,343,513 B1
  • Filed: 09/23/2004
  • Issued: 03/11/2008
  • Est. Priority Date: 09/24/2003
  • Status: Active Grant
First Claim
Patent Images

1. A method for recovering blocks of memory, comprising:

  • setting bits stored in a first device to a first value, each bit corresponding to one of a plurality of blocks in the memory;

    retrieving a first tail pointer from a list indicating which of the plurality of blocks is available, the first tail pointer identifying a last available block of the plurality of blocks;

    monitoring a de-allocation of each of the plurality of blocks;

    setting, for each block of the plurality of blocks that is de-allocated, the corresponding bit in the first device to a second value;

    detecting allocation of the last available block of the plurality of blocks;

    starting a counter, the counter being configured to count for a predetermined time period;

    reading, after the predetermined time period has elapsed, a second tail pointer associated with each of a plurality of second devices to which the plurality of blocks in the memory are capable of being allocated, each second tail pointer identifying one of the plurality of blocks;

    setting bits in the first device corresponding to the blocks identified by the second tail pointers to the second value;

    determining whether at least one of the bits in the first device has not been set to the second value; and

    making, when at least one bit has not been set to the second value, the block corresponding to each of the at least one bit available for allocation to the plurality of second devices.

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