kernel/guarded_heap: Add an init comment.
This commit is contained in:
@@ -809,6 +809,9 @@ guarded_heap_init_post_sem()
|
|||||||
}
|
}
|
||||||
|
|
||||||
locker.Unlock();
|
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();
|
initialCache->ReleaseRef();
|
||||||
|
|
||||||
vm_unreserve_memory(reservation.count * B_PAGE_SIZE);
|
vm_unreserve_memory(reservation.count * B_PAGE_SIZE);
|
||||||
|
|||||||
Reference in New Issue
Block a user