Skip to content

Commit c7f239c

Browse files
committed
Clean up extra debug logging
1 parent a4eda40 commit c7f239c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

kernel/src/memory/shmemalloc.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,8 @@ unsafe impl Allocator for ShmemAlloc {
3737
// TODO(rackscale performance): should probably be debug_assert
3838
assert!(
3939
is_shmem_addr(ptr as u64, true, true),
40-
"allocated pointer ({}) isn't shmem: {} {} {}",
40+
"allocated pointer ({}) isn't a shmem address",
4141
ptr as u64,
42-
is_shmem_addr(ptr as u64, false, false),
43-
is_shmem_addr(ptr as u64, false, true),
44-
is_shmem_addr(ptr as u64, true, false)
4542
);
4643

4744
Ok(unsafe {

0 commit comments

Comments
 (0)