summaryrefslogtreecommitdiff
path: root/Kernel/VM/Region.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-08-07 16:14:08 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-08-07 16:14:08 +0200
commit3364da388f17fe1da1f9d3c0518e3917359159ae (patch)
tree4c25bdf89c7e7170b903ecbecb64b974089bcfea /Kernel/VM/Region.cpp
parent5487f81b5deb80c9af5ebc69971957748429df9b (diff)
downloadserenity-3364da388f17fe1da1f9d3c0518e3917359159ae.zip
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.
Diffstat (limited to 'Kernel/VM/Region.cpp')
-rw-r--r--Kernel/VM/Region.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/VM/Region.cpp b/Kernel/VM/Region.cpp
index 20db77fd4e..24bd907342 100644
--- a/Kernel/VM/Region.cpp
+++ b/Kernel/VM/Region.cpp
@@ -12,7 +12,6 @@ Region::Region(const Range& range, const String& name, u8 access, bool cow)
, m_access(access)
, m_cow_map(Bitmap::create(m_vmo->page_count(), cow))
{
- m_vmo->set_name(m_name);
MM.register_region(*this);
}