Patent ID: 7774571

Claim:
A system, comprising: a processor; and a plurality of allocation units of resources; a task control block having a plurality fields, each field containing one of a plurality of allocation unit classification flags; wherein said processor has logic adapted to: execute a task utilizing at least one allocation unit allocated to that task; classify an allocation unit associated with a task wherein said allocation unit is a resource selected from the group consisting of a portion of a processor computational capacity, a portion of a connection bandwidth, a task control block and a portion of memory containing historical data associated with a previously executed task, and wherein said classifying includes classifying an allocation unit in a first class having a priority for preservation of historical data of a first type associated with the allocation unit being classified, and classifying an allocation unit in a second class having a priority for preservation of historical data of a second type associated with the allocation unit being classified; maintain a queue of allocation units available to be allocated to a task; free an allocation unit upon ending of the associated task; and queue the allocation unit for use by another task in said queue at a selected location of said queue in accordance with said classification of said allocation unit, wherein said queuing includes queuing an allocation unit at a first end of said queue if classified in said first class and queuing an allocation unit at a second end of said queue if classified in said second class wherein said allocation units are removed from said queue in queue order starting at said first end, for reuse by another task wherein reuse of queued allocation units of said first class is advanced and reuse of queued allocation units of said second class is delayed; wherein said classifying includes determining the contents of an allocation unit classification flag associated with the allocation unit being classified, and classifying the allocation unit being classified in one of said first class and said second class as determined by the contents of the allocation unit classification flag associated with the allocation unit being classified; and wherein each allocation unit classification flag is associated with one type of a plurality of different types of allocation units being classified.