1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:57:35 +00:00

Kernel: Remove trace log in MemoryManager::deallocate_user_physical_page()

This commit is contained in:
Jean-Baptiste Boric 2021-01-22 17:49:55 +01:00 committed by Andreas Kling
parent 06b73eea94
commit 5cd1217b6e

View file

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