increase cache flush margin

this seems to help #321. At the very least, on my test unit
an image without this crashes fairly reliably, and with this,
it can complete a few tries consecutively without fail
This commit is contained in:
bunnie 2023-02-14 00:12:27 +08:00
parent 6526171a28
commit eeef91d467

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 * 5; // cache capacity * 4 ways + 1 to force overlap
const FLUSH_SIZE_BYTES: usize = 16384 * 8; // cache capacity * 4 ways x2 to force overlap
pub struct Spinor {
id: u32,