summaryrefslogtreecommitdiff
path: root/Kernel/VM/VMObject.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-08-07 16:34:00 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-08-07 16:34:00 +0200
commitcb2d572a14d24b4d61b4a55ae31f606858b59162 (patch)
tree1a30dafda3d4c61842cd0c8fbe7aef064641fbfc /Kernel/VM/VMObject.h
parent3364da388f17fe1da1f9d3c0518e3917359159ae (diff)
downloadserenity-cb2d572a14d24b4d61b4a55ae31f606858b59162.zip
Kernel: Remove "allow CPU caching" flag on VMObject
This wasn't really thought-through, I was just trying anything to see if it would make WindowServer faster. This doesn't seem to make much of a difference either way, so let's just not do it for now. It's easy to bring back if we think we need it in the future.
Diffstat (limited to 'Kernel/VM/VMObject.h')
-rw-r--r--Kernel/VM/VMObject.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/VM/VMObject.h b/Kernel/VM/VMObject.h
index 4bd24749cd..3bc549fd83 100644
--- a/Kernel/VM/VMObject.h
+++ b/Kernel/VM/VMObject.h
@@ -48,7 +48,6 @@ private:
template<typename Callback>
void for_each_region(Callback);
- bool m_allow_cpu_caching { true };
off_t m_inode_offset { 0 };
size_t m_size { 0 };
RefPtr<Inode> m_inode;