mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:17:35 +00:00
Optimize PageDirectory destruction.
Remove an extra hash lookup and only iterate over the actually-used PhysicalPages that we need to clean up.
This commit is contained in:
parent
edac1d6748
commit
3e37a1f5c3
2 changed files with 4 additions and 15 deletions
|
@ -208,7 +208,6 @@ private:
|
|||
void flush_tlb(LinearAddress);
|
||||
|
||||
RetainPtr<PhysicalPage> allocate_page_table(PageDirectory&, unsigned index);
|
||||
void deallocate_page_table(PageDirectory&, unsigned index);
|
||||
|
||||
void map_protected(LinearAddress, size_t length);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue