Radix table translation of memory

US9811472B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9811472-B2
Application numberUS-201213517758-A
CountryUS
Kind codeB2
Filing dateJun 14, 2012
Priority dateJun 14, 2012
Publication dateNov 7, 2017
Grant dateNov 7, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments relate to managing memory page tables in a processing system. A request to access a desired block of memory is received. The request includes an effective address that includes an effective segment identifier (ESID) and a linear address, the linear address including a most significant portion and a byte index. An entry in a buffer that includes the ESID of the effective address is located. Based on the entry including a radix page table pointer (RPTP), performing: using the RPTP to locate a translation table of a hierarchy of translation tables, using the located translation table to translate the most significant portion of the linear address to obtain an address of a block of memory, and based on the obtained address, performing the requested access to the desired block of memory.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer program product for accessing a memory location in a processing system, the computer program product comprising: a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: receiving a request to access a desired block of memory located in one of a plurality of non-contiguous virtual memory regions, the request comprising an effective address consisting of an effective segment identifier (ESID) and a linear address, the linear address consisting of a most significant portion and a byte index; locating, by a processor, an entry corresponding to the effective address in a segment lookaside buffer (SLB) that includes multiple entries that include radix page table pointers (RPTPs) corresponding to the plurality of non-contiguous virtual memory regions; and based on the located entry corresponding to the effective address in the SLB including an RPTP corresponding to the one of the plurality of non-contiguous virtual memory regions, performing: using the RPTP from the located entry to locate a translation table of a hierarchy of translation tables; using the located translation table to translate the entirety of the most significant portion of the linear address to obtain an address of a block of memory; and based on the obtained address, performing the requested access to the desired block of memory. 2. The computer program product of claim 1 , further comprising using the byte index of the linear address and the obtained address to form an address of the desired block of memory. 3. The computer program product of claim 1 , wherein a table level of the located translation table of the hierarchy of translation tables is indicated by the RPTP. 4. The computer program product of claim 1 , wherein the RPTP specifies a size of the linear address. 5. The computer program product of claim 1 , wherein a portion of the linear address is used to index into the located translation table to locate a translation table entry, the translation table entry comprising an origin address of a next level translation table of the hierarchy of translation tables. 6. The computer program product of claim 1 , wherein the linear address includes a page identifier and a byte offset identifier. 7. The computer program product of claim 1 , wherein locating the entry corresponding to the effective address in the SLB comprises: selecting a first valid entry in the SLB; extracting a segment size from the first valid entry; calculating an ESID mask of the first valid entry based on the extracted segment size; determining whether an ESID of the first valid entry corresponds to the ESID of the effective address based on the ESID mask; based on determining that the ESID mask of the first valid entry corresponds to the ESID of the effective address, determining that the first valid entry is the located entry corresponding to the effective address in the SLB; and based on determining that the ESID mask of the first valid entry does not correspond to the ESID of the effective address, determining that the first valid entry is not the entry corresponding to the effective address in the SLB, and selecting a next valid entry in the SLB. 8. The computer program product of claim 1 , wherein, in the effective address, the ESID is located adjacent to and before the most significant portion of the linear address, and the most significant portion of the linear address is located adjacent to and before the byte index of the linear address. 9. A computer system for accessing a memory location, the system comprising: a memory; and a processor configured to perform a method comprising: receiving a request to access a desired block of memory located in one of a plurality of non-contiguous virtual memory regions, the request comprising an effective address consisting of an effective segment identifier (ESID) and a linear address, the linear address consisting of a most significant portion and a byte index; locating, by a processor, an entry corresponding to the effective address in a segment lookaside buffer (SLB) that includes multiple entries that include radix page table pointers (RPTPs) corresponding to the plurality of non-contiguous virtual memory regions; and based on the located entry corresponding to the effective address in the SLB including an RPTP corresponding to the one of the plurality of non-contiguous virtual memory regions, performing: using the RPTP from the located entry to locate a translation table of a hierarchy of translation tables; using the located translation table to translate the entirety of the most significant portion of the linear address to obtain an address of a block of memory; and based on the obtained address, performing the requested access to the desired block of memory. 10. The system of claim 9 , further comprising using the byte index of the linear address and the obtained address to form an address of the desired block of memory. 11. The system of claim 9 , wherein a table level of the located translation table of the hierarchy of translation tables is indicated by the RPTP. 12. The system of claim 9 , wherein the RPTP specifies a size of the linear address. 13. The system of claim 9 , wherein a portion of the linear address is used to index into the located translation table to locate a translation table entry, the translation table entry comprising an origin address of a next level translation table of the hierarchy of translation tables. 14. The system of claim 9 , wherein locating the entry corresponding to the effective address in the SLB comprises: selecting a first valid entry in the SLB; extracting a segment size from the first valid entry; calculating an ESID mask of the first valid entry based on the extracted segment size; determining whether an ESID of the first valid entry corresponds to the ESID of the effective address based on the ESID mask; based on determining that the ESID mask of the first valid entry corresponds to the ESID of the effective address, determining that the first valid entry is the located entry corresponding to the effective address in the SLB; and based on determining that the ESID mask of the first valid entry does not correspond to the ESID of the effective address, determining that the first valid entry is not the entry corresponding to the effective address in the SLB, and selecting a next valid entry in the SLB. 15. The system of claim 9 , wherein, in the effective address, the ESID is located adjacent to and before the most significant portion of the linear address, and the most significant portion of the linear address is located adjacent to and before the byte index of the linear address.

Assignees

Inventors

Classifications

  • involving hashing techniques, e.g. inverted page tables · CPC title

  • using page tables, e.g. page table structures · CPC title

  • Addressing or allocation; Relocation (program address sequencing G06F9/00; arrangements for selecting an address in a digital store G11C8/00) · CPC title

  • using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB] · CPC title

  • for multiple virtual address spaces, e.g. segmentation (G06F12/1045 takes precedence) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9811472B2 cover?
Embodiments relate to managing memory page tables in a processing system. A request to access a desired block of memory is received. The request includes an effective address that includes an effective segment identifier (ESID) and a linear address, the linear address including a most significant portion and a byte index. An entry in a buffer that includes the ESID of the effective address is l…
Who is the assignee on this patent?
Bybell Anthony J, Gschwind Michael K, IBM
What technology area does this patent fall under?
Primary CPC classification G06F12/1009. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Nov 07 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).