mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 20:29:42 +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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user