mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
parent
307dd5768c
commit
6d79d03380
@ -135,7 +135,7 @@ Heap::Dataspace *Heap::_allocate_dataspace(size_t size, bool enforce_separate_me
|
||||
|
||||
bool Heap::_try_local_alloc(size_t size, void **out_addr)
|
||||
{
|
||||
if (_alloc->alloc_aligned(size, out_addr, log2(sizeof(addr_t))).error())
|
||||
if (_alloc->alloc_aligned(size, out_addr, log2(16)).error())
|
||||
return false;
|
||||
|
||||
_quota_used += size;
|
||||
|
Loading…
Reference in New Issue
Block a user