mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
Kernel: Tighten assertion in MM::find_free_user_physical_page
If our book-keeping of user physical pages is correct, we should always find a physical page, regardless if it was committed or uncommitted.
This commit is contained in:
@@ -915,7 +915,7 @@ RefPtr<PhysicalPage> MemoryManager::find_free_user_physical_page(bool committed)
|
||||
break;
|
||||
}
|
||||
}
|
||||
VERIFY(!committed || !page.is_null());
|
||||
VERIFY(!page.is_null());
|
||||
return page;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user