Update kernel/src/main.rs
This commit is contained in:
@@ -368,7 +368,6 @@ unsafe extern "C" fn kmain() -> ! {
|
|||||||
panic!("CRITICAL STATE LOSS: Memory leak detected inside PMActor context!");
|
panic!("CRITICAL STATE LOSS: Memory leak detected inside PMActor context!");
|
||||||
}
|
}
|
||||||
|
|
||||||
// === ARCH 2.2: Buddy Allocator Intrusive List — Direct Test ===
|
|
||||||
info!(console, "PM", "=-= Buddy Allocator Direct Test (Intrusive List) =-=");
|
info!(console, "PM", "=-= Buddy Allocator Direct Test (Intrusive List) =-=");
|
||||||
|
|
||||||
let buddy_test_pages = 128;
|
let buddy_test_pages = 128;
|
||||||
@@ -411,7 +410,6 @@ unsafe extern "C" fn kmain() -> ! {
|
|||||||
|
|
||||||
info!(console, "PM", "~) BUDDY DIRECT TEST PASSED (~");
|
info!(console, "PM", "~) BUDDY DIRECT TEST PASSED (~");
|
||||||
|
|
||||||
// === ARCH 2.3: PMM Tree Bitmap — alloc/free stress test ===
|
|
||||||
info!(console, "PM", "=-= PMM Tree Bitmap Alloc/Free Stress Test =-=");
|
info!(console, "PM", "=-= PMM Tree Bitmap Alloc/Free Stress Test =-=");
|
||||||
|
|
||||||
const PMM_TEST_COUNT: usize = 64;
|
const PMM_TEST_COUNT: usize = 64;
|
||||||
|
|||||||
Reference in New Issue
Block a user