CPC G06F 12/0897 (2013.01) [G06F 12/0246 (2013.01); G06F 12/0864 (2013.01); G06F 12/123 (2013.01)] | 21 Claims |
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.
|