diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2015-12-31 09:33:39 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2015-12-31 09:33:39 -0500 |
commit | 7fca994d04230f1e41b9443b33f891460fc5368d (patch) | |
tree | 3bd62bc958f5c81b68c3517d3ed3251203790036 /src/dev | |
parent | f1ec326be59b137ff0955b4d80e6516754016fd5 (diff) | |
download | gem5-7fca994d04230f1e41b9443b33f891460fc5368d.tar.xz |
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().
Diffstat (limited to 'src/dev')
0 files changed, 0 insertions, 0 deletions