mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
Kernel: Remove assertion from Region::commit
We should be able to gracefully fail a commit in low-memory situations.
This commit is contained in:
parent
eb1cc5d665
commit
30d36a3ad1
1 changed files with 0 additions and 1 deletions
|
@ -144,7 +144,6 @@ bool Region::commit(size_t page_index)
|
|||
auto physical_page = MM.allocate_user_physical_page(MemoryManager::ShouldZeroFill::Yes);
|
||||
if (!physical_page) {
|
||||
klog() << "MM: commit was unable to allocate a physical page";
|
||||
ASSERT_NOT_REACHED();
|
||||
return false;
|
||||
}
|
||||
vmobject_physical_page_entry = move(physical_page);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue