From 89500015a75780ba54aa53448b82f7eb32635071 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 15 Dec 2022 17:52:55 +0800 Subject: [PATCH] try to fix regression from #284 still hitting cache coherence edge cases. expanding the flush set read by one more way. --- services/spinor/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/spinor/src/main.rs b/services/spinor/src/main.rs index 81d4a840e..55e67c4b3 100644 --- a/services/spinor/src/main.rs +++ b/services/spinor/src/main.rs @@ -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,