-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/2885/
-----------------------------------------------------------

(Updated June 15, 2015, 6:05 p.m.)


Review request for Default.


Repository: gem5


Description (updated)
-------

Changeset 10876:f265658dbcaa
---------------------------
mem: Split WriteInvalidateReq into write and invalidate

This patch splits the existing WriteInvalidateReq into a WriteLineReq,
which is done locally, and an InvalidateReq that is sent out
throughout the memory system. The WriteLineReq re-uses the normal
WriteResp.

The change allows us to better express the difference between the
cache that is performing the write, and the ones that are merely
invalidating. As a consequence, we no longer have to rely on the
isTopLevel flag. Moreover, the actual memory in the system does not
see the intitial write, only the writeback. We were marking the
written line as dirty already, so there is really no need to also push
the write all the way to the memory.

The overall flow of the write-invalidate operation remains the same,
i.e. the operation is only carried out once the response for the
invalidate comes back. This patch adds the InvalidateResp for this
very reason.


Diffs (updated)
-----

  src/mem/ruby/system/RubyPort.cc ebb3d0737aa7 
  src/mem/cache/cache_impl.hh ebb3d0737aa7 
  src/mem/packet.hh ebb3d0737aa7 
  src/mem/packet.cc ebb3d0737aa7 

Diff: http://reviews.gem5.org/r/2885/diff/


Testing
-------


Thanks,

Andreas Hansson

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to