kernel/guarded_heap: Add an init comment.

This commit is contained in:
Augustin Cavalier
2026-03-26 17:53:15 -04:00
parent 34e74e0556
commit 498d92cbd7
+3
View File
@@ -809,6 +809,9 @@ guarded_heap_init_post_sem()
}
locker.Unlock();
// Release the initial cache reference here, so that if the free triggers
// malloc (e.g. for magazines in the object_caches), we're ready.
initialCache->ReleaseRef();
vm_unreserve_memory(reservation.count * B_PAGE_SIZE);