Software assisted hardware TLB miss handler
AssigneeHewlett-Packard Company
InventorsEric R. DeLano, Michael A. Buckley, Duncan C. Weir
Life of this patent
Estimating the term…
Loading patent…
AssigneeHewlett-Packard Company
InventorsEric R. DeLano, Michael A. Buckley, Duncan C. Weir
Estimating the term…
The present invention provides a software-assisted hardware TLB miss-handler which is designed to reduce the TLB miss penalty while being low cost to implement and requiring little chip area or complexity. When a TLB miss occurs, the HW TLB miss handler of the present invention computes a physical address of a page table entry located in a special hardware-visible table based on a missing virtual address. It accesses the page table entry and checks for a correct translation and status information. If correct, a physical page address and protection information of the page table entry are inserted into the TLB. The original virtual address is re-translated and normal program execution continues. If the correct translation and status are not found, the HW TLB miss-handler will not insert the entry and will trap to a more sophisticated SW TLB miss handler. A pointer to the page table entry is passed to the SW TLB miss handler so that the page table address need not be recomputed. Thus, the HW TLB miss-handler of the present invention services the simplest and most common TLB misses very quickly, reducing the overall TLB miss penalty. The slower SW TLB miss handler services the more complex and less common TLB misses and provides flexibility in the virtual memory management system.
A computer-based system for handling translation lookaside buffer (TLB) misses, the system comprising:
In a computer-based system having a translation lookaside buffer (TLB) which is adapted to accept a virtual address and return a physical address translation, a method for handling TLB misses, comprising the steps of:
Dependencies are inferred from the claim text.