Prefetch: Don't prefetch if address is in the write queue.
authorAli Saidi <Ali.Saidi@ARM.com>
Tue, 13 Sep 2011 17:06:13 +0000 (12:06 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Tue, 13 Sep 2011 17:06:13 +0000 (12:06 -0500)
commit0c29a97ba90b6416014efee232efd9fea2f974d6
tree935b0361a700936e96e7681dcdb2fc89793fd7df
parente4830ad2eb85b9fef8f6e01b6bcbe34983f1d912
Prefetch: Don't prefetch if address is in the write queue.

Check that we're not currently writing back an address the prefetcher is trying
to prefetch before issuing it. We previously checked the mshrQueue and the cache
itself, but forgot to check the writeBuffer. This fixes a memory corrucption
issue with an L2 prefetcher.
src/mem/cache/cache_impl.hh