diff options
author | Mitch Hayenga <mitch.hayenga@arm.com> | 2014-05-09 18:58:46 -0400 |
---|---|---|
committer | Mitch Hayenga <mitch.hayenga@arm.com> | 2014-05-09 18:58:46 -0400 |
commit | a15b713cba52d9d4d2c1204fef050fb3856ca33e (patch) | |
tree | 4bd5a1e3fda3aa33feb10cc475f8b8554f3d0958 /src/mem/cache/mshr_queue.hh | |
parent | b9e6c260a01bab2b59d6eef4f45a642f57484275 (diff) | |
download | gem5-a15b713cba52d9d4d2c1204fef050fb3856ca33e.tar.xz |
mem: Squash prefetch requests from downstream caches
This patch squashes prefetch requests from downstream caches,
so that they do not steal cachelines away from caches closer
to the cpu. It was originally coded by Mitch Hayenga and
modified by Aasheesh Kolli.
Diffstat (limited to 'src/mem/cache/mshr_queue.hh')
-rw-r--r-- | src/mem/cache/mshr_queue.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mem/cache/mshr_queue.hh b/src/mem/cache/mshr_queue.hh index 9177433af..7ab3c7e74 100644 --- a/src/mem/cache/mshr_queue.hh +++ b/src/mem/cache/mshr_queue.hh @@ -194,6 +194,12 @@ class MSHRQueue : public Drainable void squash(int threadNum); /** + * Deallocate top target, possibly freeing the MSHR + * @return if MSHR queue is no longer full + */ + bool forceDeallocateTarget(MSHR *mshr); + + /** * Returns true if the pending list is not empty. * @return True if there are outstanding requests. */ |