mem: Store snoop filter lookup result to avoid second lookup
authorAndreas Hansson <andreas.hansson@arm.com>
Fri, 25 Sep 2015 11:26:57 +0000 (07:26 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Fri, 25 Sep 2015 11:26:57 +0000 (07:26 -0400)
commit0c5a98f9d18c6fdae287b1b608d1ffb1c13fb9c9
tree06b467633133c920bb1f8a20339dd815f831e8b2
parentceec2bb02c87829f29aa1ebb4573051162264ae8
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.
src/mem/coherent_xbar.cc
src/mem/snoop_filter.cc
src/mem/snoop_filter.hh