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:
Norman Feske 2013-09-28 19:49:32 +02:00
parent 61b94296b2
commit 90aa4ef6b5
1 changed files with 1 additions and 2 deletions

View File

@ -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