Dynamically adapting mechanism for translation lookaside buffer shootdowns
AssigneeAdvanced Micro Devices, Inc.
InventorsArkaprava BASU, Joseph L. GREATHOUSE
Life of this patent
Estimating the term…
Loading patent…
AssigneeAdvanced Micro Devices, Inc.
InventorsArkaprava BASU, Joseph L. GREATHOUSE
Estimating the term…
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.
A method comprising:
A method, comprising:
A processing system, comprising
Dependencies are inferred from the claim text.