US 11,704,250 B2
Using request class and reuse recording in one cache for insertion policies of another cache
Paul J. Moyer, Fort Collins, CO (US)
Assigned to Advanced Micro Devices, Inc., Santa Clara, CA (US)
Filed by Advanced Micro Devices, Inc., Santa Clara, CA (US)
Filed on Sep. 28, 2021, as Appl. No. 17/488,206.
Prior Publication US 2023/0100230 A1, Mar. 30, 2023
Int. Cl. G06F 12/0897 (2016.01); G06F 12/02 (2006.01); G06F 12/123 (2016.01); G06F 12/0864 (2016.01)
CPC G06F 12/0897 (2013.01) [G06F 12/0246 (2013.01); G06F 12/0864 (2013.01); G06F 12/123 (2013.01)] 21 Claims
OG exemplary drawing
 
1. A method of maintaining insertion policies of a lower-level cache, comprising:
receiving, from an upper-level cache, a data block and associated metadata, wherein the data block was evicted from the upper-level cache and the associated metadata includes a reused bit and a request class;
selecting, based on the reused bit and the request class, an insertion policy from the insertion policies of the lower-level cache;
determining, based on the selected insertion policy, whether to insert the data block into the lower-level cache; and
if it is determined to insert, inserting the data block into the lower-level cache according to the selected insertion policy.