----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/3259/#review7793 -----------------------------------------------------------
Ship it! Ship It! - Steve Reinhardt On Dec. 30, 2015, 10:41 a.m., Andreas Hansson wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://reviews.gem5.org/r/3259/ > ----------------------------------------------------------- > > (Updated Dec. 30, 2015, 10:41 a.m.) > > > Review request for Default. > > > Repository: gem5 > > > Description > ------- > > 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(). > > > Diffs > ----- > > src/mem/cache/cache.cc 4cc8b312f026 > src/mem/cache/mshr.cc 4cc8b312f026 > src/mem/packet.hh 4cc8b312f026 > > 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
