summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2013-01-07 13:05:32 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2013-01-07 13:05:32 -0500
commit9a645d6e9bfc58fd93e4c706e8ee7103a3067942 (patch)
tree2bc94678fe73294e531493605b8fab4f74de10e8
parent5ebe3210d80d7f0226c33877d7200be8cb38d423 (diff)
downloadgem5-9a645d6e9bfc58fd93e4c706e8ee7103a3067942.tar.xz
cache: add note about where conflicts are handled
-rw-r--r--src/mem/cache/cache_impl.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh
index a7c9a4a55..fc01e2c06 100644
--- a/src/mem/cache/cache_impl.hh
+++ b/src/mem/cache/cache_impl.hh
@@ -520,7 +520,10 @@ Cache<TagStore>::timingAccess(PacketPtr pkt)
MSHR *mshr = mshrQueue.findMatch(blk_addr);
if (mshr) {
- // MSHR hit
+ /// MSHR hit
+ /// @note writebacks will be checked in getNextMSHR()
+ /// for any conflicting requests to the same block
+
//@todo remove hw_pf here
assert(pkt->req->masterId() < system->maxMasters());
mshr_hits[pkt->cmdToIndex()][pkt->req->masterId()]++;