forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support early pvalidation in startup_64
The previous SNP VM boot is slow majorly due to the expensive PSP command LAUNCH_UPDATE per 4K page. With this patch, launch_update only need to validate memory pages used before startup_64 and optinally choose to launch_update other memory pages. The early pvalidate assumes the E820 table does not cover invalid memory pages and then will do on-demand validation and extend the table.
- Loading branch information
1 parent
f874f2f
commit 1c18d85
Showing
2 changed files
with
68 additions
and
0 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