Patent ID: 11921640
Assignee: APPLE INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 14:
15. A method comprising:
assigning criticality values to cache lines in a cache, wherein a given criticality value corresponds to a given cache line;
during selection of a victim cache line for replacement, preferentially retaining cache lines identified as critical by the corresponding criticality values over cache lines not identified as critical, wherein the selection is further based on replacement data maintained by the cache separate from the criticality values;
monitoring a cache hit rate for cache lines having criticality values indicating critical status;
detecting one or more indications that at least some of the cache lines identified as critical are no longer critical, wherein one of the one or more indications is based on the cache hit rate being below a threshold level; and
ignoring the criticality values for victim selection and replacement data update based on the one or more indications.