Don't create a response if one isn't needed.
--HG-- extra : convert_revision : 37bd230f527f64eb12779157869aae9dcfdde7fd
This commit is contained in:
parent
4f93c43d34
commit
0087061681
1 changed files with 3 additions and 1 deletions
4
src/mem/cache/cache_impl.hh
vendored
4
src/mem/cache/cache_impl.hh
vendored
|
@ -620,7 +620,9 @@ Cache<TagStore,Buffering,Coherence>::probe(Packet * &pkt, bool update, CachePort
|
|||
lat = memSidePort->sendAtomic(busPkt);
|
||||
|
||||
//Be sure to flip the response to a request for coherence
|
||||
busPkt->makeAtomicResponse();
|
||||
if (busPkt->needsResponse()) {
|
||||
busPkt->makeAtomicResponse();
|
||||
}
|
||||
|
||||
/* if (!(busPkt->flags & SATISFIED)) {
|
||||
// blocked at a higher level, just return
|
||||
|
|
Loading…
Reference in a new issue