mem: Store snoop filter lookup result to avoid second lookup
Review Request #3059 - Created Aug. 21, 2015 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 11062:85ac67b53235 --------------------------- mem: Store snoop filter lookup result to avoid second lookup This patch introduces a private member storing the iterator from the lookupRequest call, such that it can be re-used when the request eventually finishes. The method previously called updateRequest is renamed finishRequest to make it more clear that the two functions must be called together.
Seems fine to me. Just one question, is it necessary to keep
the lookup result as a class variable? Can you not pass it
around after the first lookup? Some how, I do not like doing this.
