×

Virtual memory management

  • US 7,930,515 B2
  • Filed: 07/29/2008
  • Issued: 04/19/2011
  • Est. Priority Date: 07/29/2008
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for managing a virtual memory system configured to allow multiple page sizes in a segment, the method comprising:

  • receiving an effective address and a page size;

    providing a first table set, having one member corresponding to each configured page size, each member of the first table set containing translation descriptors, each translation descriptor having effective address to physical address mappings, made during address translations for pages of the corresponding size;

    providing a second table set, having one member corresponding to each configured page size except for the smallest configured page size, each member of the second table set containing translation descriptors, each translation descriptor having effective address to physical address mappings, made during address translations for pages of all sizes except the corresponding size;

    determining whether the received page size corresponds to the smallest configured page size and upon a determination that the received page size corresponds to the smallest configured page size, performing;

    obtaining the physical address for the received effective address by matching the received effective address to the translation descriptors, in the member of the first table set corresponding to the received page size, in the event such translation descriptors exist in the first table set, and returning the physical address from the matching translation descriptor, else generating the physical address by calculating the mapping; and

    determining that no mapping for the received effective address exists, in any member of the first table set corresponding to a page size except the received page size, else determining that a mismatch situation results;

    upon a determination that the received page size does not correspond to the smallest configured page size, performing;

    obtaining the physical address for the received effective address by matching the received effective address to the translation descriptors, in the member of the first table set corresponding to the received page size, in the event such translation descriptors exist in the first table set, and returning the physical address from the matching translation descriptor, else generating the physical address by calculating the mapping; and

    determining that no mapping for the received effective address exists, in the member of the second table set corresponding to the received page size, else determining that a mismatch situation results; and

    creating mappings, in the member of the first table set corresponding to the received page size, and in the member tables of the second table set corresponding to all page sizes except the received page size, in the event mismatch is not reported.

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