Adaptive Extension of Leases for Entries in a Translation Lookaside Buffer
First Claim
1. A method for handling entries in a translation lookaside buffer (TLB) in a computing device, the method comprising:
- updating an entry in the TLB based on a virtual address to physical address translation and metadata from a page table entry that were acquired during a page table walk;
computing, based on a lease length expression, a lease length for the entry in the TLB;
setting, for the entry in the TLB, a lease value to the lease length, wherein the lease value represents a time until a lease for the entry in the TLB expires, wherein the entry in the TLB is invalid when the associated lease has expired; and
controlling, using the lease value, operations that are allowed to be performed using information from the entry in the TLB.
2 Assignments
0 Petitions
Accused Products
Abstract
The described embodiments include a computing device with two or more translation lookaside buffers (TLB). During operation, the computing device updates an entry in the TLB based on a virtual address to physical address translation and metadata from a page table entry that were acquired during a page table walk. The computing device then computes, based on a lease length expression, a lease length for the entry in the TLB. Next, the computing device sets, for the entry in the TLB, a lease value to the lease length, wherein the lease value represents a time until a lease for the entry in the TLB expires, wherein the entry in the TLB is invalid when the associated lease has expired. The computing device then uses the lease value to control operations that are allowed to be performed using information from the entry in the TLB.
18 Citations
22 Claims
-
1. A method for handling entries in a translation lookaside buffer (TLB) in a computing device, the method comprising:
-
updating an entry in the TLB based on a virtual address to physical address translation and metadata from a page table entry that were acquired during a page table walk; computing, based on a lease length expression, a lease length for the entry in the TLB; setting, for the entry in the TLB, a lease value to the lease length, wherein the lease value represents a time until a lease for the entry in the TLB expires, wherein the entry in the TLB is invalid when the associated lease has expired; and controlling, using the lease value, operations that are allowed to be performed using information from the entry in the TLB. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computing device, comprising:
-
a processor comprising a core; a memory comprising a page table; and a translation lookaside buffer (TLB) in the core; wherein the processor is configured to; update an entry in the TLB based on a virtual address to physical address translation and metadata from a page table entry that were acquired during a page table walk; compute, based on a lease length expression, a lease length for the entry in the TLB; set, for the entry in the TLB, a lease value to the lease length, wherein the lease value represents a time until a lease for the entry in the TLB expires, wherein the entry in the TLB is invalid when the associated lease has expired; and control, using the lease value, operations that are allowed to be performed using information from the entry in the TLB. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
Specification