Suspending translation look-aside buffer purge execution in a multi-processor environment

US11036647B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11036647-B2
Application numberUS-201916434254-A
CountryUS
Kind codeB2
Filing dateJun 7, 2019
Priority dateJun 16, 2017
Publication dateJun 15, 2021
Grant dateJun 15, 2021

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.

A method for operating translation look-aside buffers, TLBs, in a multiprocessor system. A purge request is received for purging one or more entries in the TLB. When the thread doesn't require access to the entries to be purged the execution of the purge request at the TLB may start. When an address translation request is rejected due to the TLB purge, a suspension time window may be set. During the suspension time window, the execution of the purge is suspended and address translation requests of the thread are executed. After the suspension window is ended the purge execution may be resumed. When the thread requires access to the entries to be purged, it may be blocked for preventing the thread sending address translation requests to the TLB and upon ending the purge request execution, the thread may be unblocked and the address translation requests may be executed.

First claim

Opening claim text (preview).

What is claimed is: 1. A system for operating translation look-aside buffers, TLBs, comprising at least one core each having at least one thread, the system being configured for: receiving a purge request for purging one or more entries in the TLB; determining if a thread requires access to an entry of the entries to be purged; when the thread does not require access to the entries to be purged: starting execution of the purge request in the TLB; setting a suspension time window; suspending the execution of the purge during the suspension time window; executing address translation requests of the thread during the suspension time window; resuming the purge execution after the suspension window is ended. 2. The system of claim 1 , the at least one core supporting a second thread, in case a first thread does not require access to the TLB entries to be purged and the second thread requires access to an entry to be purged, the system being further configured for before starting the execution of the purge request at the TLB: blocking both the first and second threads for preventing them sending requests to the TLB; when the purge request has started at both the first and second threads, unblocking the first thread. 3. The system of claim 1 , wherein the setting of the suspension time window is performed in response to an address translation request of the thread being rejected due to the TLB purge. 4. The system of claim 3 , wherein the rejected address translation request is recycled during a recycling time window, wherein the recycling time window is smaller than the suspension time window, wherein the executing of the address translation requests of the thread comprises executing the recycled address translation request. 5. The system of claim 1 , setting the suspension time window comprising providing a level signal having a predefined activation time period during which the level signal is active, wherein the suspension time window is the activation time period. 6. A system for operating translation look-aside buffers, TLBs, comprising at least one core each having at least one thread, the system being configured for: receiving a purge request for purging one or more entries in the TLB; determining if a thread requires access to an entry of the entries to be purged; when the thread requires access to the entries to be purged: blocking the thread for preventing the thread sending address translation requests to the TLB; upon ending the purge request execution, unblocking the thread and executing the address translation requests of the thread. 7. The system of claim 6 , the at least one core supporting a second thread, when a first thread requires access to at least an entry of the entries to be purged and the second thread does not require access to the entries to be purged, the system being further configured for: upon the blocking of the first thread starting execution of the purge request at the TLB; setting a suspension time window if an address translation request by the second thread is rejected due to the TLB purge; suspending the execution of the purge during the suspension time window; executing address translation requests of the second thread during the suspension time window; resuming the purge execution after the suspension window is ended. 8. The system of claim 6 , the determining if the thread requires access to an entry of the entries to be purged is performed based on a current state of the thread, the system being further configured for before the purge request ends, maintaining the state of the thread un-changed. 9. The system of claim 8 , being further configured for in response to receiving an assignment request for assigning the thread to a process requiring access entries to be purged, blocking the assignment request. 10. The system of claim 9 , further comprising providing a branch point having two states, wherein blocking the thread comprises setting the branch point to the first state, and using firmware instructions for reading the state of the branch point for performing the blocking, and upon ending the purge request execution, setting the branch point to the second state; using the firmware instructions for reading the second state of the branch point for performing the unblocking. 11. The system of claim 10 , further comprising providing another branch point having two states, wherein blocking the assignment request comprises: setting the other branch point to a state of the two states, and using firmware instructions for reading said state of the branch point for performing the blocking of the assignment request. 12. The system of claim 8 , wherein the assignment request is received from a Start Interpretive Execution (SIE) component of the multiprocessor system for assigning the thread to a virtual processing unit (PU). 13. The system of claim 6 wherein blocking the thread is performed using firmware instructions. 14. A computer program product comprising a computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code configured to implement the steps of: receiving a purge request for purging one or more entries in the TLB; determining if a thread requires access to an entry of the entries to be purged; when the thread does not require access to the entries to be purged: starting execution of the purge request in the TLB; setting a suspension time window; suspending the execution of the purge during the suspension time window; executing address translation requests of the thread during the suspension time window; resuming the purge execution after the suspension window is ended. 15. The computer program product of claim 14 wherein the at least one core supporting a second thread, when a first thread does not require access to the TLB entries to be purged and the second thread requires access to an entry to be purged, the steps further comprises, before starting the execution of the purge request at the TLB: blocking both the first and second threads for preventing them sending requests to the TLB; when the purge request has started at both the first and second threads, unblocking the first thread. 16. The computer program product of claim 15 wherein the setting of the suspension time window is performed in response to an address translation request of the thread being rejected due to the TLB purge.

Assignees

Inventors

Classifications

  • Providing cache or TLB in specific location of a processing system · CPC title

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

  • Multiprocessor TLB consistency · CPC title

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

  • Details of virtual memory and virtual address translation · 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 US11036647B2 cover?
A method for operating translation look-aside buffers, TLBs, in a multiprocessor system. A purge request is received for purging one or more entries in the TLB. When the thread doesn't require access to the entries to be purged the execution of the purge request at the TLB may start. When an address translation request is rejected due to the TLB purge, a suspension time window may be set. Durin…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F12/1027. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 15 2021 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 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).