Invention Grant
- Patent Title: Dynamically adapting mechanism for translation lookaside buffer shootdowns
-
Application No.: US16005882Application Date: 2018-06-12
-
Publication No.: US10552339B2Publication Date: 2020-02-04
- Inventor: Arkaprava Basu , Joseph L. Greathouse
- Applicant: ADVANCED MICRO DEVICES, INC.
- Applicant Address: US CA Santa Clara
- Assignee: Advanced Micro Devices, Inc.
- Current Assignee: Advanced Micro Devices, Inc.
- Current Assignee Address: US CA Santa Clara
- Main IPC: G06F12/10
- IPC: G06F12/10 ; G06F12/1027 ; G06F9/48

Abstract:
An operating system (OS) of a processing system having a plurality of processor cores determines a cost associated with different mechanisms for performing a translation lookaside buffer (TLB) shootdown in response to, for example, a virtual address being remapped to a new physical address, and selects a TLB shootdown mechanism to purge outdated or invalid address translations from the TLB based on the determined cost. In some embodiments, the OS selects an inter-processor interrupt (IPI) as the TLB shootdown mechanism if the cost associated with sending an IPI is less than a threshold cost. In some embodiments, the OS compares the cost of using an IPI as the TLB shootdown mechanism versus the cost of sending a hardware broadcast to all processor cores of the processing system as the shootdown mechanism and selects the shootdown mechanism having the lower cost.
Public/Granted literature
- US20190377688A1 DYNAMICALLY ADAPTING MECHANISM FOR TRANSLATION LOOKASIDE BUFFER SHOOTDOWNS Public/Granted day:2019-12-12
Information query