From: Steve Reinhardt Date: Fri, 27 Jul 2007 00:04:16 +0000 (-0700) Subject: Continue snooping after a writeback is encountered. X-Git-Tag: m5_2.0_beta4~195^2~31 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1b5c8fb57ee656df3a1b9d021de723279f66b2f;p=gem5.git Continue snooping after a writeback is encountered. --HG-- extra : convert_revision : 8411338a6c0fdd7072dd32bdffacdace62d5de90 --- diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index fa2f45632..6db40b609 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -1064,7 +1064,13 @@ Cache::snoopTiming(PacketPtr pkt) // Invalidation trumps our writeback... discard here markInService(mshr); } - return; + + // If this was a shared writeback, there may still be + // other shared copies above that require invalidation. + // We could be more selective and return here if the + // request is non-exclusive or if the writeback is + // exclusive. + break; } }