mem: Remove redundant is_top_level cache parameter
Review Request #2886 - Created June 10, 2015 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10887:9be908d7c501 --------------------------- mem: Remove redundant is_top_level cache parameter This patch takes the final step in removing the is_top_level parameter from the cache. With the recent changes to read requests and write invalidations, the parameter is no longer needed, and consequently removed. This also means that asymmetric cache hierarchies are now fully supported (and we are actually using them already with L1 caches, but no table-walker caches, connected to a shared L2).
Overall I am fine. I would probably read the patch again after your response
to questions below and mark it to be shipped.
-
src/mem/cache/cache_impl.hh (Diff revision 1) -
What's going on over here that's related to the aim of the patch?
-
src/mem/cache/cache_impl.hh (Diff revision 1) -
Same question as previous one?
Description: |
|
|||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+15 -29) |
Ship It!
I like the idea of adding a FromCache attribute in packet.cc; my concern with the current setup is that, if someone added a new cache command, there wouldn't be anything to indicate to them that they should be adding another condition to this compound if.
Other than that, looks good!
