diff options
author | Andreas Kling <awesomekling@gmail.com> | 2020-01-17 22:30:52 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2020-01-17 22:34:36 +0100 |
commit | 122c76d7fa267b5919d950ed5746b09f0866dd7a (patch) | |
tree | 13695bb78a73d3b691fd09ce6ca3957202452a77 /Kernel/VM/PageDirectory.h | |
parent | ad1f79fb4a60c444fbae6d101e1478fdea3afd8c (diff) | |
download | serenity-122c76d7fa267b5919d950ed5746b09f0866dd7a.zip |
Kernel: Don't allocate per-process PDPT from super pages either
The default system is now down to 3 super pages allocated on boot. :^)
Diffstat (limited to 'Kernel/VM/PageDirectory.h')
-rw-r--r-- | Kernel/VM/PageDirectory.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/VM/PageDirectory.h b/Kernel/VM/PageDirectory.h index 6cdf990930..aca3213bac 100644 --- a/Kernel/VM/PageDirectory.h +++ b/Kernel/VM/PageDirectory.h @@ -22,7 +22,6 @@ public: ~PageDirectory(); u32 cr3() const { return m_directory_table->paddr().get(); } - PageDirectoryPointerTable& table() { return *reinterpret_cast<PageDirectoryPointerTable*>(0xc0000000 + cr3()); } RangeAllocator& range_allocator() { return m_range_allocator; } |