kernel: Stop showing memory stats at boot
All checks were successful
continuous-integration/drone/push Build is passing

No userspace interface yet, but this can be shown using Shift+Ctrl+M.
This commit is contained in:
apio 2023-07-02 16:02:38 +02:00
parent f8dc7c62e2
commit dd914b16d1
Signed by: asleepymoon
GPG Key ID: B8A7D06E42258954

View File

@ -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");