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

Kernel: Don't allocate per-process PDPT from super pages either

The default system is now down to 3 super pages allocated on boot. :^)
This commit is contained in:
Andreas Kling 2020-01-17 22:30:52 +01:00
parent ad1f79fb4a
commit 122c76d7fa
2 changed files with 10 additions and 6 deletions

View file

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