Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Cache pollution
describes situations where an executing computer program loads data into
CPU cache unnecessarily, thus causing other needed data to be evicted
from the cache into lower levels of the memory hierarchy, potentially
all the way down to main memory, thus causing a performance hit. Right
before the loop starts, T will be fetched from memory into cache, its
value updated. However, as the loop executes, because the number of data
elements the loop references requires the whole cache to be filled to
its capacity, the cache block containing T has to be evicted. Thus, the
next time the program requests T to be updated, the cache misses, and
the cache controller has to request the data bus to bring the
corresponding cache block from main memory again.