mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:08:10 +00:00
Let PageDirectory have a PhysicalPage for the PDB instead of being the PDB.
This is more efficient than using the wasteful kmalloc_aligned() approach to allocation. It also allows much tighter encapsulation of the class.
This commit is contained in:
parent
2239ab96e7
commit
193ead94f8
4 changed files with 122 additions and 100 deletions
|
@ -238,7 +238,7 @@ private:
|
|||
|
||||
int alloc_fd();
|
||||
|
||||
PageDirectory* m_page_directory { nullptr };
|
||||
OwnPtr<PageDirectory> m_page_directory;
|
||||
|
||||
Process* m_prev { nullptr };
|
||||
Process* m_next { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue