mem: Pass shared downstream through caches
Review Request #2715 - Created March 30, 2015 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10781:497ec32a8e7c --------------------------- mem: Pass shared downstream through caches This patch ensures that we pass on information about a packet being shared (rather than exclusive), when forwarding a packet downstream. Without this patch there is a risk that a downstream cache considers the line exclusive when it really isn't.
I was initially slightly uneasy that, in the timing case, the sharing information could be out of date, as the cpu_pkt has been buffered in the MSHR for an indeterminate amount of time. I doubt there's any harm in conservatively assuming the block to still be shared even in the (rare) case that it no longer is, though, so I convinced myself that it's OK.
Review request changed
Updated (March 31, 2015, 12:42 a.m.)
Description: |
|
||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+12) |
