Searched hist:9543 (Results 1 - 2 of 2) sorted by relevance
/gem5/src/mem/cache/ | ||
H A D | mshr.cc | diff 9543:a373b2e664ff Tue Feb 19 05:56:00 EST 2013 Sascha Bischoff <sascha.bischoff@arm.com> mem: Fix SenderState related cache deadlock This patch fixes a potential deadlock in the caches. This deadlock could occur when more than one cache is used in a system, and pkt->senderState is modified in between the two caches. This happened as the caches relied on the senderState remaining unchanged, and used it for instantaneous upstream communication with other caches. This issue has been addressed by iterating over the linked list of senderStates until we are either able to cast to a MSHR* or senderState is NULL. If the cast is successful, we know that the packet has previously passed through another cache, and therefore update the downstreamPending flag accordingly. Otherwise, we do nothing. |
/gem5/src/mem/ | ||
H A D | packet.hh | diff 9543:a373b2e664ff Tue Feb 19 05:56:00 EST 2013 Sascha Bischoff <sascha.bischoff@arm.com> mem: Fix SenderState related cache deadlock This patch fixes a potential deadlock in the caches. This deadlock could occur when more than one cache is used in a system, and pkt->senderState is modified in between the two caches. This happened as the caches relied on the senderState remaining unchanged, and used it for instantaneous upstream communication with other caches. This issue has been addressed by iterating over the linked list of senderStates until we are either able to cast to a MSHR* or senderState is NULL. If the cast is successful, we know that the packet has previously passed through another cache, and therefore update the downstreamPending flag accordingly. Otherwise, we do nothing. |
Completed in 32 milliseconds