Direct mapping cache with LRU I'm studying computer architecture and I'm doing an experiment.
Does LRU make sense in a direct mapping cache? I'm quite confused.
Thank you.
LRU only applies if the cache is set-associative and you need a hint as to in which set you write new data.  In a direct mapped cache, here is only one place to put data.