mem: Remove a redundant heap allocation for a snoop packet
authorAndreas Hansson <andreas.hansson@arm.com>
Thu, 27 Jun 2013 09:49:49 +0000 (05:49 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Thu, 27 Jun 2013 09:49:49 +0000 (05:49 -0400)
commitf330b3c28d489d28743f2c31b607d33036b37006
treec6c316fead531de03b0903b80ffa6632f9f426e3
parent9a1169f3d7d062f06ca826458d350b6e7edf5caa
mem: Remove a redundant heap allocation for a snoop packet

This patch changes the updards snoop packet to avoid allocating and
later deleting it. As the code executes in 0 time and the lifetime of
the packet does not extend beyond the block there is no reason to heap
allocate it.
src/mem/cache/cache_impl.hh