Andreas Hansson got review request #1771!
mem: Separate waiting for the bus and waiting for a peer
Review Request #1771 - Created March 14, 2013 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9612:7c0917e48c0f --------------------------- mem: Separate waiting for the bus and waiting for a peer This patch splits the retryList into a list of ports that are waiting for the bus itself to become available, and a map that tracks the ports where forwarding failed due to a peer not accepting the packet. Thus, when a retry reaches the bus, it can be sent to the appropriate port that initiated that transaction. As a consequence of this patch, only ports that are really ready to go will get a retry, thus reducing the amount of redundant failed attempts. This patch also makes it easier to reason about the order of servicing requests as the ports waiting for the bus are now clearly FIFO and much easier to change if desired.
With stats updates, all regressions pass
Posted (March 15, 2013, 2:59 a.m.)
-
src/mem/bus.hh (Diff revision 1) -
A instead of An?
Review request changed
Updated (March 15, 2013, 3:10 a.m.)
Description: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+121 -115) |
Looks good to me... just one minor optional issue below.
-
src/mem/bus.hh (Diff revision 2) -
Aren't portIDs small integers? Wouldn't a vector suffice, with NULL entries for ports that aren't waiting? Or maybe that's just the old C programmer in me showing through...
Review request changed
Updated (March 26, 2013, 1:44 a.m.)
Description: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+137 -123) |
Ship It!
