diff options
author | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2016-11-02 17:29:42 +0000 |
---|---|---|
committer | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2018-03-02 16:17:44 +0000 |
commit | 1ecc7a8c776bacd04c109cc286e569d434497229 (patch) | |
tree | 9db50dd68776df0c81c58bf3264edfa40bd0d176 | |
parent | d7de6dff7707ac48303231ee4a4f5790f9495304 (diff) | |
download | gem5-1ecc7a8c776bacd04c109cc286e569d434497229.tar.xz |
mem-cache: Remove unnecessary block initialization on writeback
Change-Id: Ia9b825bcbb8d326705f74c15a93a88703153ba5a
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/8283
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
-rw-r--r-- | src/mem/cache/cache.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mem/cache/cache.cc b/src/mem/cache/cache.cc index 1821f1873..622f0f787 100644 --- a/src/mem/cache/cache.cc +++ b/src/mem/cache/cache.cc @@ -1662,8 +1662,6 @@ Cache::writebackBlk(CacheBlk *blk) req->setFlags(Request::SECURE); req->taskId(blk->task_id); - blk->task_id= ContextSwitchTaskId::Unknown; - blk->tickInserted = curTick(); PacketPtr pkt = new Packet(req, blk->isDirty() ? @@ -1742,8 +1740,6 @@ Cache::cleanEvictBlk(CacheBlk *blk) req->setFlags(Request::SECURE); req->taskId(blk->task_id); - blk->task_id = ContextSwitchTaskId::Unknown; - blk->tickInserted = curTick(); PacketPtr pkt = new Packet(req, MemCmd::CleanEvict); pkt->allocate(); |