×

Method for efficient non-virtual main memory management

  • US 5,159,678 A
  • Filed: 08/23/1990
  • Issued: 10/27/1992
  • Est. Priority Date: 06/11/1990
  • Status: Expired due to Term
First Claim
Patent Images

1. An improved method for operating a non-virtual main memory manager using swapin and swapout operations to allocate and un-allocate space in a non-virtual main memory for one or more segments of one or more process images residing on a swap device and ready to be executed in a computer processing system that includes one or more processors sharing the main memory and the swap device wherein the segments require space of varying sizes and all of the segments for a process image must be resident in the main memory before the process image can be executed by the computer processing system:

  • and wherein the main memory manager performs a swapin operation for the segments of a selected process image ready to execute when space in the main memory is available and performs a swapout operation for the segments of one or more process images that are currently stored in the main memory, the steps of the improved method comprising;

    constructing at least a segment location list identifying all physical segment spaces in the main memory, a segment active list identifying space in the main memory currently allocated to one or more segments, and a segment available list identifying space in the main memory currently un-allocated to any segments,checking the segment available list for sufficient contiguous space in the main memory which has not been allocated to any segment and which is large enough to contain one or more segments of a process image which are ready to be swapped into the main memory,performing a swapin allocation operation to allocate the contiguous space in the main memory to the one or more segments in the event that sufficient un-allocated contiguous space in the main memory is available to store one or more of the segments of the process image ready to be swapped into the main memory,updating at least the segment available list and the segment active list after performing the swapin allocation operation,checking the segment active list for a segment candidate to swap out from the main memory in the event that insufficient un-allocated contiguous space in the main memory is available to store any one or more segments of the process image ready to be swapped into the main memory,performing a swapout operation on the segment candidate to un-allocate the space in the main memory which was allocated to the segment candidate, andupdating at least the segment available list and the segment active list after performing the swapout operation on the segment candidate.

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