×

Method for managing allocation of memory space

  • US 5,339,411 A
  • Filed: 10/22/1993
  • Issued: 08/16/1994
  • Est. Priority Date: 12/21/1990
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of operation of a data processing device having a memory space to manage allocation of said memory space, operation of said data processing device comprising the steps of:

  • a) storing first data, said first data specifying first and second ends for a first memory block;

    b) storing second data, said second data specifying a maximum fragment size which can be allocated from said first memory block;

    c) responding to a memory request generated by an application being executed by said data processing device to allocate a fragment to said application, said memory request specifying a requested fragment size, said responding step including the further steps of;

    c1) comparing said requested fragment size to said maximum fragment size; and

    c2) allocating an unallocated fragment to said application from said block only if said requested fragment size is less than said maximum fragment size, and otherwise;

    c3) responding to said memory request in a predetermined manner without making said requested allocation from said block;

    c4) allocating to said application another unallocated fragment of said memory space which has no addressed portions in common with said first memory block;

    c5) storing third data, said third data specifying first and second ends for a second memory block;

    c6) storing fourth data, said fourth data specifying a maximum fragment size which can be allocated from said second memory block, wherein said maximum fragment size which can be allocated from said second memory block is greater than said maximum fragment size which can be allocated from said first memory block;

    c7) if said requested fragment size is greater than said memory fragment size which can be allocated from said first memory block, then responding to said memory request by allocating an unallocated fragment from said second memory block to said application only if said requested fragment size is less than said maximum fragment size which can be allocated from said second memory block; and

    otherwisec8) responding to said memory request in a predetermined manner without making said requested allocation from said first memory block and without making said requested allocation from said second memory block;

    c9) allocating to said application said another unallocated fragment of said memory space which has no addressed portions in common with said first memory block and which further has no addressed portions in common with said second memory block.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×