mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
Kernel: Don't panic if MemoryManager::find_free_physical_page fails
This commit is contained in:
parent
8e8ea99bf3
commit
c681330450
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue