1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 19:45:10 +00:00

Kernel: Remove tracking of bitmap memory.

There are no more kernel bitmaps. It's much better this way.
This commit is contained in:
Andreas Kling 2019-02-17 01:16:38 +01:00
parent cc9ff96a98
commit 809266a9fb
4 changed files with 5 additions and 22 deletions

View file

@ -2168,16 +2168,6 @@ size_t Process::amount_virtual() const
return amount;
}
size_t Process::amount_in_bitmaps() const
{
size_t amount = 0;
for (auto& region : m_regions) {
if (region->is_bitmap())
amount += region->size();
}
return amount;
}
size_t Process::amount_resident() const
{
// FIXME: This will double count if multiple regions use the same physical page.