1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:37:45 +00:00

Kernel: Remove VMObject names

The VMObject name was always either the owning region's name, or the
absolute path of the underlying inode.

We can reconstitute this information if wanted, no need to keep copies
of these strings around.
This commit is contained in:
Andreas Kling 2019-08-07 16:14:08 +02:00
parent 5487f81b5d
commit 3364da388f
5 changed files with 5 additions and 14 deletions

View file

@ -33,8 +33,7 @@ NonnullRefPtr<VMObject> VMObject::clone()
}
VMObject::VMObject(VMObject& other)
: m_name(other.m_name)
, m_inode_offset(other.m_inode_offset)
: m_inode_offset(other.m_inode_offset)
, m_size(other.m_size)
, m_inode(other.m_inode)
, m_physical_pages(other.m_physical_pages)