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.