summaryrefslogtreecommitdiff
path: root/Kernel/VM
diff options
context:
space:
mode:
authorJean-Baptiste Boric <jblbeurope@gmail.com>2021-01-22 17:49:55 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-22 22:17:39 +0100
commit5cd1217b6e07a913d2f9c1938fbbe5e0a1bcc8f5 (patch)
tree3a15fad66e93d5955fde5010636f6bfe6ea0928e /Kernel/VM
parent06b73eea94a695f6a9f2c6bdd89e839e262b7da2 (diff)
downloadserenity-5cd1217b6e07a913d2f9c1938fbbe5e0a1bcc8f5.zip
Kernel: Remove trace log in MemoryManager::deallocate_user_physical_page()
Diffstat (limited to 'Kernel/VM')
-rw-r--r--Kernel/VM/MemoryManager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Kernel/VM/MemoryManager.cpp b/Kernel/VM/MemoryManager.cpp
index 941592f776..f1028fb47c 100644
--- a/Kernel/VM/MemoryManager.cpp
+++ b/Kernel/VM/MemoryManager.cpp
@@ -483,10 +483,8 @@ void MemoryManager::deallocate_user_physical_page(const PhysicalPage& page)
{
ScopedSpinLock lock(s_mm_lock);
for (auto& region : m_user_physical_regions) {
- if (!region.contains(page)) {
- klog() << "MM: deallocate_user_physical_page: " << page.paddr() << " not in " << region.lower() << " -> " << region.upper();
+ if (!region.contains(page))
continue;
- }
region.return_page(page);
--m_user_physical_pages_used;