Identification and consolidation of page table entries
First Claim
1. A computer implemented method for accessing memory locations, the method comprising:
- translating, by a processor, a virtual address to locate a first page table entry (PTE) in a page table, the first PTE comprising a marker and an address of a page of main storage, wherein the first PTE points to a first page;
determining, with the processor, whether the marker is set in the first PTE;
identifying a large page size of a large page associated with the first PTE based on determining that the marker is set in the first PTE, wherein the large page consists of contiguous pages of main storage and the identifying includes determining the large page size based on content of a configuration register;
determining a second PTE that is distinct from the first PTE, that points to a second page that is contiguous to the first page, and that comprises a start location of the large page based on determining that the marker is set in the first PTE, wherein the large page comprises the first page and the second page;
obtaining the start location from the second PTE; and
using the virtual address to index into the page table at the start location to access the large page in main storage.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for accessing memory locations includes translating, by a processor, a virtual address to locate a first page table entry (PTE) in a page table. The first PTE includes a marker and an address of a page of main storage. It is determined, by the processor, whether a marker is set in the first PTE. A large page size of a large page associated with the first PTE is identified based on determining that the marker is set in the first PTE. The large page is made up of contiguous pages of main storage. An origin address of the large page is determined based on determining that the marker is set in the first PTE. The virtual address is used to index into the large page at the origin address to access main storage.
69 Citations
9 Claims
-
1. A computer implemented method for accessing memory locations, the method comprising:
-
translating, by a processor, a virtual address to locate a first page table entry (PTE) in a page table, the first PTE comprising a marker and an address of a page of main storage, wherein the first PTE points to a first page; determining, with the processor, whether the marker is set in the first PTE; identifying a large page size of a large page associated with the first PTE based on determining that the marker is set in the first PTE, wherein the large page consists of contiguous pages of main storage and the identifying includes determining the large page size based on content of a configuration register; determining a second PTE that is distinct from the first PTE, that points to a second page that is contiguous to the first page, and that comprises a start location of the large page based on determining that the marker is set in the first PTE, wherein the large page comprises the first page and the second page; obtaining the start location from the second PTE; and using the virtual address to index into the page table at the start location to access the large page in main storage. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
Specification