Review Board 2.0.15


mem: Do not allocate space for packet data if not needed

Review Request #3259 - Created Dec. 15, 2015 and submitted

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 11286:e01b74b38dc5
---------------------------
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().

   
Review request changed
Updated (Dec. 31, 2015, 6:34 a.m.)

Status: Closed (submitted)