kernel/vm: Add assert to VMCache::MarkPageUnbusy.

Change-Id: Iec29bdfa5f0a25d9f255c6eee1937bc7c9cc4c3a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10628
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Augustin Cavalier
2026-03-30 22:11:53 +00:00
committed by waddlesplash
parent 5554f0b829
commit 28e6329e8e
+2
View File
@@ -353,6 +353,8 @@ void
VMCache::MarkPageUnbusy(vm_page* page)
{
ASSERT(page->busy);
ASSERT(page->Cache() == this);
page->busy = false;
NotifyPageEvents(page, PAGE_EVENT_NOT_BUSY);
}