1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 11:27:35 +00:00

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.
This commit is contained in:
Andreas Kling 2019-08-07 16:34:00 +02:00
parent 3364da388f
commit cb2d572a14
3 changed files with 1 additions and 8 deletions

View file

@ -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;