Kernel: Don't panic if MemoryManager::find_free_physical_page fails

This commit is contained in:
Thomas Queiroz 2022-12-06 21:13:34 -03:00 committed by Linus Groh
parent 8e8ea99bf3
commit c681330450

View file

@ -923,7 +923,10 @@ RefPtr<PhysicalPage> MemoryManager::find_free_physical_page(bool committed)
}
}
});
VERIFY(!page.is_null());
if (page.is_null())
dbgln("MM: couldn't find free physical page. Continuing...");
return page;
}