Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

Commit c4a21e5

Browse files
committed
kernel: don't have too many entries int he MCache
Signed-off-by: Reto Achermann <[email protected]>
1 parent 38e276c commit c4a21e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/src/arch/x86_64/rackscale/controller_state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ lazy_static! {
2525
pub(crate) static ref CONTROLLER_SHMEM_CACHES: Arc<ArrayVec<Mutex<Box<dyn MemManager + Send>>, MAX_MACHINES>> = {
2626
let mut shmem_caches = ArrayVec::new();
2727
// TODO(rackscale): think about how we should constrain the mcache?
28-
shmem_caches.push(Mutex::new(Box::new(MCache::<131071, 131071>::new_with_frame::<131071, 131071>(
28+
shmem_caches.push(Mutex::new(Box::new(MCache::<65536, 65536>::new_with_frame::<65536, 65536>(
2929
local_shmem_affinity(),
3030
get_affinity_shmem(),
3131
)) as Box<dyn MemManager + Send>));

0 commit comments

Comments
 (0)