From dd914b16d1760aaaacd9db85c492cafdd65412c4 Mon Sep 17 00:00:00 2001 From: apio Date: Sun, 2 Jul 2023 16:02:38 +0200 Subject: [PATCH] kernel: Stop showing memory stats at boot No userspace interface yet, but this can be shown using Shift+Ctrl+M. --- kernel/src/main.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kernel/src/main.cpp b/kernel/src/main.cpp index 8673fbcd..4e065aa6 100644 --- a/kernel/src/main.cpp +++ b/kernel/src/main.cpp @@ -40,11 +40,6 @@ void reap_thread() kinfoln("Current platform: %s", CPU::platform_string().chars()); kinfoln("Current processor: %s", CPU::identify().value_or("(unknown)"_sv).chars()); - kinfoln("Total memory: %s", to_dynamic_unit(MemoryManager::total()).release_value().chars()); - kinfoln("Free memory: %s", to_dynamic_unit(MemoryManager::free()).release_value().chars()); - kinfoln("Used memory: %s", to_dynamic_unit(MemoryManager::used()).release_value().chars()); - kinfoln("Reserved memory: %s", to_dynamic_unit(MemoryManager::reserved()).release_value().chars()); - auto root = mark_critical(TmpFS::FileSystem::create(), "Failed to create initial ramfs"); mark_critical(VFS::mount_root(root), "Failed to mount the initial ramfs as the root filesystem"); mark_critical(InitRD::populate_vfs(), "Failed to load files from the initial ramdisk");