Skip to content

Commit 8b96480

Browse files
vmalloc: remove debug logs
Signed-off-by: Andy-Python-Programmer <[email protected]>
1 parent 59cd783 commit 8b96480

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/aero_kernel/src/mem/vmalloc.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ impl Vmalloc {
9999

100100
pub(super) fn alloc(&mut self, mut npages: usize) -> Option<VirtAddr> {
101101
npages += 1; // allocate a guard page
102-
log::debug!("vmalloc: (npages={npages})");
103102

104103
let size_bytes = npages * Size4KiB::SIZE as usize;
105104

@@ -159,8 +158,6 @@ impl Vmalloc {
159158
pub(super) fn dealloc(&mut self, addr: VirtAddr, mut npages: usize) {
160159
npages += 1; // deallocate the vmalloc guard page
161160

162-
log::debug!("vmdealloc: (npages={npages})");
163-
164161
let size = npages * Size4KiB::SIZE as usize;
165162

166163
// check if this block can be merged into another block.

0 commit comments

Comments
 (0)