-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AArch64/paging: optimize page table creation
Creating page table takes 8K * 2 * MEM_SIZE(GB) times loop while each loop is time-consuming. It may takes a few seconds to complete page table creating. As a certain memory region has the same memory attribute, saying the whole MMIO region and the most normal memory, we can simply use 512M block to map the region instead of use 64kB page. Also, there is some optimization in page table creating algorithm. After this change, page table creating takes only dozens of ms. Signed-off-by: Jianyong Wu <[email protected]>
- Loading branch information
Showing
2 changed files
with
96 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters