×

TLB miss fault handler and method for accessing multiple page tables

  • US 7,111,145 B1
  • Filed: 03/25/2003
  • Issued: 09/19/2006
  • Est. Priority Date: 03/25/2003
  • Status: Expired due to Term
First Claim
Patent Images

1. A computer program embodied in a tangible medium, the computer program being executable in a virtual computer system, the virtual computer system comprising a virtual machine monitor having a first address space and a virtual machine having a second address space, the virtual computer system further comprising a first page table for mapping addresses from the first address space and a second page table for mapping addresses from the second address space, the computer program comprising:

  • a first routine for responding to a TLB Miss fault resulting from an attempted memory access, the first routine executing in the same context in which the TLB Miss fault occurred; and

    a second routine executing in a different context from the first routine, wherein;

    the first routine determines an operating state in which the virtual computer system was operating when the TLB Miss fault occurred,the first routine receives an address space identifier which indicates if the attempted memory access was to the first address space or the second address space,the first routine uses the operating state and the address space identifier to determine if the attempted memory access is permitted, andif the attempted memory access is permitted, the first routine uses the address space identifier to determine if the attempted memory access was to the first address space or the second address space, and, if the attempted memory access was to the first address space, the first routine attempts to find a translation for the attempted memory access in the first page table, or, if the attempted memory access was to the second address space, the first routine attempts to find a translation for the attempted memory access in the second page table, orthe attempted memory access is not permitted, a context switch is performed and execution switches to the second routine for responding to the impermissible attempted memory access.

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