Cache member protection with partial make MRU allocation
Abstract
A method and apparatus for enabling protection of a particular member of a cache during LRU victim selection. LRU state array includes additional “protection” bits in addition to the state bits. The protection bits serve as a pointer to identify the location of the member of the congruence class that is to be protected. A protected member is not removed from the cache during standard LRU victim selection, unless that member is invalid. The protection bits are pipelined to MRU update logic, where they are used to generate an MRU vector. The particular member identified by the MRU vector (and pointer) is protected from selection as the next LRU victim, unless the member is Invalid. The make MRU operation affects only the lower level LRU state bits arranged a tree-based structure and thus only negates the selection of the protected member, without affecting LRU victim selection of the other members.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 5.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
In a memory component, a method comprising: pre-selecting a member of a congruence class as a protected member based on an attribute of an operation targeting the member; and preventing selection of the protected member during least recently used (LRU) victim selection by tagging said protected member as a most recently used (MRU) member during a first pass through an MRU update logic and for treating the protected member as the MRU member during each pass through the memory component to identify an LRU victim member, regardless of whether the protected member is a current MRU member.
- Claim 2Depends on #1
The method of claim 1 , further comprising: encoding the location of the protected member within the congruence class in a set of protection bits, whose value point to said location; and passing said protection bits to an MRU update logic during each update operation within said
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗