×

Dynamic memory allocation that enalbes efficient use of buffer pool memory segments

  • US 5,784,698 A
  • Filed: 12/05/1995
  • Issued: 07/21/1998
  • Est. Priority Date: 12/05/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. A dynamic memory allocation procedure comprising the computer-implemented steps of:

  • a. allocating areas of memory for use as a series of free buffer pools, each free buffer pool comprising plural identical size (hereafter called "buffer size") buffer storage areas, each succeeding free buffer pool of said series including a larger buffer size than a preceding free buffer pool of said series;

    b. associating a selection size parameter with each free buffer pool, said selection size parameter for a given free buffer pool being a value larger than said buffer size comprising said given free buffer pool, but less than a next larger buffer size comprising a further one of said series of free buffer pools; and

    c. responding to a request for allocation of buffer space byi. allocating a buffer from a free buffer pool whose selection size parameter is a larger value, among selection size parameters, than said buffer space that was requested;

    ii. determining a difference between and the allocated buffer size and the requested buffer space to find an unfulfilled amount of said requested buffer space; and

    iii. allocating a buffer from a free buffer pool whose selection size parameter is a larger value, among selection size parameters, than said unfulfilled amount; and

    iv. repeating steps ii and iii until step ii determines that no unfulfilled amount remains of said requested buffer space.

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