×

PARALLEL DYNAMIC MEMORY ALLOCATION USING A LOCK-FREE POP-ONLY FIFO

  • US 20130198479A1
  • Filed: 01/30/2012
  • Published: 08/01/2013
  • Est. Priority Date: 01/30/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method of allocating memory, the method comprising:

  • receiving a first memory allocation request specifying a first amount of memory;

    receiving a second memory allocation request simultaneously with the first memory allocation request, wherein the second memory allocation request specifies the first amount of memory;

    identifying a first-in first-out buffer (FIFO) node size based on the first amount of memory;

    selecting a first FIFO and a second FIFO that are each populated with FIFO nodes of the FIFO node size;

    popping a first FIFO head node from the first FIFO to satisfy the first memory allocation request; and

    popping a second FIFO head node from the second FIFO, simultaneously with the popping of the first FIFO head node, to satisfy the second memory allocation request.

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