# US 2001/0011338 A1 · System method and apparatus for providing linearly scalable dynamic memory management in a multiprocessing system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2001/0011338 A1
- Document ID: US20010011338A1
- Status: Published application
- Kind: A1
- Application number: 09/140,210
- Filed: 1998-08-26
- Published: 2001-08-02
- Earliest claimed: 1998-08-26
- Assignees: Compaq Computer Corporation
- Inventors: THOMAS J. BONOLA
- Web page: https://patentgrep.com/patent/US20010011338A1

## CPC

- G06F 12/023: {Free address space management}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for dynamically allocating memory in a computer system at the application level. The application examines a heap data structure and a free list, identifies an unallocated region of memory that is appropriately sized, and allocates the memory to the application. The application deallocates a memory region by placing the memory region in the free list and modifying the heap data structure.

## Claims

### Claim 1

In a computer system comprising an operating system, at least one application program, and system memory, a method for allocating the system memory, said method comprising the steps of:
finding a portion of said system memory comprising at least a predetermined amount of memory, by said application program; and
allocating said predetermined amount of memory within said portion to said application program.

### Claim 2 (depends on 1)

The method of claim 1, wherein said finding step further comprises the step of accessing a heap data structure by said application program.

### Claim 3 (depends on 1)

The method of claim 1, wherein said finding step further comprises the step of accessing a free list by said application program.

### Claim 4 (depends on 1)

The method of claim 1, wherein said allocating step further comprises the steps of:
comparing said portion to said predetermined amount of memory; and
dividing said portion into two half-portions, wherein said portion comprises at least twice as much memory as said predetermined amount.

### Claim 5 (depends on 4)

The method of claim 4, wherein said allocating step further comprises the step of recording the address of at least one of said half-portions in a free list.

### Claim 6

In a computer system comprising an operating system, an application program, and system memory, a system for allocating said system memory comprising:
a heap data structure for listing a size of at least one unallocated portion of said system memory;
a free list for listing at least one address of said at least one unallocated portion of said system memory; and
means for accessing said free list and said heap data structure by said application program, wherein said computer system includes a motherboard, and wherein at least part of said system is off said motherboard.

### Claim 7 (depends on 6)

The system of claim 6, wherein said free list lists a plurality of addresses, wherein each of said plurality of addresses corresponds to a unallocated portion of said system memory, said plurality of addresses sorted by the size of said corresponding unallocated portion.

### Claim 8 (depends on 6)

The system of claim 6, wherein said application program comprises a particular executable instruction, and wherein said means for accessing comprises said particular executable instruction.

### Claim 9

In a computer system comprising an operating system, a system memory, and an application program associated with a portion of said system memory, a method for disassociating said portion of said system memory from the application program, said method comprising the steps of:
placing, by said application program, an address corresponding to said portion in a free list; and
modifying an entry in a heap data structure, said entry corresponding to a size, said size equal to the size of said portion.

### Claim 10 (depends on 9)

The method of claim 9, wherein said free list comprises a plurality of addresses, and wherein said placing step further comprises:
examining said plurality of addresses in said free list by said application program; and
selectively combining said portion with a second portion corresponding with at least one of said plurality of addresses.
