mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 06:33:31 +00:00
core: Don't account RAM metadata to RAM quota
The meta data for allocations should be accounted to the session quota instead of the RAM accont managed by the session.
This commit is contained in:
parent
61b94296b2
commit
90aa4ef6b5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user