sylab / cacheus

The design and algorithms used in Cacheus are described in this USENIX FAST'21 paper and talk video: https://www.usenix.org/conference/fast21/presentation/rodriguez
59 stars 17 forks source link

BUGFIX: Add missing nor_count and dem_count decrements #3

Closed slyon001 closed 3 years ago

slyon001 commented 3 years ago

Add nor_count decrementing when ghost victim evicted from LRU History is marked is_new. Previously not decremented, leaving nor_count high. Add dem_count decrementing when victim evicted from cache is marked is_demoted. Previously not decremented, leaving dem_count high.