try to fix regression from #284

still hitting cache coherence edge cases. expanding the flush
set read by one more way.
This commit is contained in:
bunnie 2022-12-15 17:52:55 +08:00
parent 41ea0a37c5
commit 89500015a7

View file

@ -392,7 +392,7 @@ mod implementation {
#[cfg(feature="extra_flush")]
const CACHE_LINE_WIDTH: usize = 32; // in bytes
#[cfg(feature="extra_flush")]
const FLUSH_SIZE_BYTES: usize = 16384 * 4; // cache capacity * 4 ways
const FLUSH_SIZE_BYTES: usize = 16384 * 5; // cache capacity * 4 ways + 1 to force overlap
pub struct Spinor {
id: u32,