kernel/vm_manager: Remove unnecessary heap_used data member

This isn't required anymore, as all the kernel ever queries is the size
of the current heap, not the total usage of it.
This commit is contained in:
Lioncash 2019-03-24 15:56:07 -04:00
parent 586cab6172
commit 52980df1aa
3 changed files with 2 additions and 13 deletions

View file

@ -806,7 +806,7 @@ static ResultCode GetInfo(u64* result, u64 info_id, u64 handle, u64 info_sub_id)
return RESULT_SUCCESS;
case GetInfoType::TotalHeapUsage:
*result = process->VMManager().GetTotalHeapUsage();
*result = process->VMManager().GetCurrentHeapSize();
return RESULT_SUCCESS;
case GetInfoType::IsVirtualAddressMemoryEnabled: