-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/3087/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

Changeset 11078:30183e60a824
---------------------------
ruby: Fix CacheMemory allocate leak

If a cache entry permission was previously set to NotPresent, but the entry was
not deleted, a following cache allocation can cause the entry to be leaked by
setting the entry pointer to a newly allocated entry. To eliminate this
possibility, check if the new entry is different from the old one, and if so,
delete the old one.


Diffs
-----

  src/mem/ruby/structures/CacheMemory.cc 2763a59c73ff 

Diff: http://reviews.gem5.org/r/3087/diff/


Testing
-------


Thanks,

Joel Hestness

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to