Skip to content

Commit

Permalink
Remove some info logging
Browse files Browse the repository at this point in the history
  • Loading branch information
hunhoffe committed Nov 13, 2023
1 parent e16e1da commit 52365ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/src/arch/x86_64/rackscale/dcm/affinity_alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ pub(crate) fn dcm_affinity_alloc(
let mut res = AffinityAllocRes { can_satisfy: false };

// Ask DCM to make sure we can safely take from the shmem allocators
log::info!("Calling DCM for affinity alloc request");
log::debug!("Calling DCM for affinity alloc request");
DCM_CLIENT.lock().call(
DCMOps::AffinityAlloc as RPCType,
unsafe { &[req.as_bytes()] },
unsafe { &mut [res.as_mut_bytes()] },
)?;
log::info!("Finished calling DCM for affinity alloc request");
log::debug!("Finished calling DCM for affinity alloc request");

// TODO(rackscales): if it fails, ask for memory from somewhere else??
// Maybe implement this with a boolean "force" mode?
Expand Down

0 comments on commit 52365ef

Please sign in to comment.