From ecd8a676ba8d02c0d1de0fd03674dc5e731a065a Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Wed, 5 Jun 2024 14:35:53 +0200 Subject: [PATCH] reduce the number of log messages --- src/arch/x86_64/kernel/processor.rs | 3 +-- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/arch/x86_64/kernel/processor.rs b/src/arch/x86_64/kernel/processor.rs index 4271e5849c..1417c8d3df 100644 --- a/src/arch/x86_64/kernel/processor.rs +++ b/src/arch/x86_64/kernel/processor.rs @@ -838,8 +838,7 @@ pub fn configure() { if supports_fsgs() { cr4.insert(Cr4::CR4_ENABLE_FSGSBASE); - #[cfg(feature = "fsgsbase")] - info!("Enable FSGSBASE support"); + debug!("Enable FSGSBASE support"); } #[cfg(feature = "fsgsbase")] if !supports_fsgs() { diff --git a/src/lib.rs b/src/lib.rs index d5fefb8d3f..30e97d58f0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -248,7 +248,7 @@ fn application_processor_main() -> ! { #[cfg(not(target_arch = "riscv64"))] scheduler::add_current_core(); - info!("Entering idle loop for application processor"); + debug!("Entering idle loop for application processor"); synch_all_cores(); crate::executor::init();