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

Review request for Default.


Repository: gem5


Description
-------

Changeset 11281:e01a026a48ad
---------------------------
mem: Do not allocate space for packet data if not needed

This patch looks at the request and response command to determine if
either actually has any data payload, and if not, we do not allocate
any space for packet data.

The only tricky case is where the command type is changed as part of
the MSHR functionality. In these cases where the original packet had
no data, but the new packet does, we need to explicitly call
allocate().


Diffs
-----

  src/mem/cache/cache.cc a3b41de1c4f1 
  src/mem/cache/mshr.cc a3b41de1c4f1 
  src/mem/packet.hh a3b41de1c4f1 

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


Testing
-------


Thanks,

Andreas Hansson

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

Reply via email to