Sharing virtual and real translations in a virtual cache

US10810134B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10810134-B2
Application numberUS-201715844239-A
CountryUS
Kind codeB2
Filing dateDec 15, 2017
Priority dateJun 16, 2017
Publication dateOct 20, 2020
Grant dateOct 20, 2020

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.

Disclosed herein is a virtual cache directory in a processor that eliminates address translations when the virtual address and the real address in the cache directory are the same. The processor is configured to support virtual memory and multiple threads. The virtual cache directory includes a plurality of directory entries, each entry is associated with a cache line. Each cache line has a tag. The tag includes a logical address, an address space identifier, a real address bit indicator, and virtual address to real address indicator. This virtual address to real address indicator indicates if the logical address and the real address are the same. When activated, address translation is not performed.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of operating a processor cache for a processor with virtual memory support, wherein a logically indexed and logically tagged cache directory is used, and wherein an entry in the directory contains an absolute memory address in addition to the corresponding logical memory address, and a virtual to real flag, comprising: storing code to a logical memory address in a first entry in the cache directory; calling, by user code, an underlying operating system; reading, by the operating system the code from the absolute memory address; determining if the absolute memory address is equal to the logical memory address; and in response to determining that the absolute memory address is equal to the logical memory address, setting the virtual to real flag to on. 2. The method of claim 1 wherein the user code accesses the underlying operating system through a hypervisor. 3. The method of claim 1 wherein storing code creates a directory entry in the cache for the entry with a dynamic address translation flag set to on and a real bit flag set to off. 4. The method of claim 3 wherein when the virtual to real flag is set to on, a status of the dynamic address translation flag is ignored. 5. The method of claim 1 wherein a translation lookaside buffer is configured to return information related to the virtual to real flag. 6. The method of claim 5 wherein, for each translation lookaside buffer lookup, the virtual to real flag is recalculated. 7. A computer program product having computer executable instructions for operating a processor with virtual memory support wherein a logically indexed and logically tagged cache directory is used, and wherein an entry in the directory contains an absolute memory address in addition to a corresponding logical memory address, and a virtual to real flag, that when executed cause at least one computer to execute a method comprising: storing code to a logical memory address in a first entry in the cache directory; calling, by user code, an underlying operating system; reading, by the operating system the code from the absolute memory address; determining if the absolute memory address is equal to the logical memory address; and in response to determining that the absolute memory address is equal to the logical memory address, setting the virtual to real flag to on. 8. The computer program product of claim 7 wherein the user code accesses the underlying operating system through a hypervisor. 9. The computer program product of claim 7 wherein storing code creates a directory entry in the cache for the entry with a dynamic address translation flag set to on and a real bit flag set to off. 10. The computer program product of claim 9 wherein when the virtual to real flag is set to on, a status of the dynamic address translation flag is ignored. 11. The computer program product of claim 7 wherein a translation lookaside buffer is configured to return information related to the virtual to real flag. 12. The computer program product of claim 11 wherein, for each translation lookaside buffer lookup, the virtual to real flag is recalculated.

Assignees

Inventors

Classifications

  • Hypervisor-specific management and integration aspects · CPC title

  • with dedicated cache, e.g. instruction or stack · CPC title

  • Details of translation look-aside buffer [TLB] · CPC title

  • Reconfiguration of cache memory · CPC title

  • Virtualized environment, e.g. logically partitioned system · 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 US10810134B2 cover?
Disclosed herein is a virtual cache directory in a processor that eliminates address translations when the virtual address and the real address in the cache directory are the same. The processor is configured to support virtual memory and multiple threads. The virtual cache directory includes a plurality of directory entries, each entry is associated with a cache line. Each cache line has a tag…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F12/0875. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 20 2020 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 10 related publications on this page (citations in our corpus or others sharing the same primary CPC).