mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
base: remove allocation warning in heap
The heap typically first tries to allocate larger chunks than necessary, and if it fails the actual minimal one. The first attempt already triggers warnings which are not critical at all. If the second (critical) allocation fails, then there are additionally checks and warnings already in place. Issue #1039
This commit is contained in:
parent
1018dbc89a
commit
b8f9f92731
@ -90,7 +90,6 @@ Heap::Dataspace *Heap::_allocate_dataspace(size_t size, bool enforce_separate_me
|
||||
new_ds_cap = _ds_pool.ram_session->alloc(size);
|
||||
ds_addr = _ds_pool.region_map->attach(new_ds_cap);
|
||||
} catch (Ram_session::Alloc_failed) {
|
||||
warning("could not allocate new dataspace of size ", size);
|
||||
return 0;
|
||||
} catch (Region_map::Attach_failed) {
|
||||
warning("could not attach dataspace");
|
||||
|
Loading…
Reference in New Issue
Block a user