mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-21 09:41:53 +00:00
Kernel: Don't panic if MemoryManager::find_free_physical_page fails
This commit is contained in:
parent
8e8ea99bf3
commit
c681330450
Notes:
sideshowbarker
2024-07-17 03:40:15 +09:00
Author: https://github.com/thomasqueirozb
Commit: c681330450
Pull-request: https://github.com/SerenityOS/serenity/pull/16350
Reviewed-by: https://github.com/linusg
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
Add a link
Reference in a new issue