diff --git a/base/src/core/include/ram_session_component.h b/base/src/core/include/ram_session_component.h index b9c87274e..5d56bfd66 100644 --- a/base/src/core/include/ram_session_component.h +++ b/base/src/core/include/ram_session_component.h @@ -73,8 +73,7 @@ namespace Genode { /** * Return portion of RAM quota that is currently in use */ - size_t used_quota() { - return _ds_slab.consumed() + _payload + sizeof(*this); } + size_t used_quota() { return _payload; } /** * Free dataspace