mirror of
https://github.com/RGBCube/serenity
synced 2025-07-07 12:57:35 +00: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;
|
return page;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue