Kernel: Put "Couldn't find user region" spam behind MM_DEBUG

This basically never tells us anything actionable anyway, and it's a
real annoyance when doing something validation-heavy like profiling.
This commit is contained in:
Andreas Kling 2020-02-22 07:29:23 +01:00
parent ba7281a7b2
commit f020081a38
Notes: sideshowbarker 2024-07-19 09:10:48 +09:00

View file

@ -263,7 +263,9 @@ Region* MemoryManager::user_region_from_vaddr(Process& process, VirtualAddress v
if (region.contains(vaddr))
return &region;
}
#ifdef MM_DEBUG
dbg() << process << " Couldn't find user region for " << vaddr;
#endif
return nullptr;
}