]> git.proxmox.com Git - mirror_edk2.git/commit
Use on-demand paging for CpuSaveStates read/write. It was measured about 200us for...
authorjgong5 <jgong5@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 2 Apr 2010 01:39:19 +0000 (01:39 +0000)
committerjgong5 <jgong5@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 2 Apr 2010 01:39:19 +0000 (01:39 +0000)
commitff443d3ebdc05e2d5bc53a7af74e04cd0ccb855c
tree332dd9df7947b998af0e3b32558a3178cc46d538
parent553472f6447941f24bf9ae8c5ac54e04edf90dab
Use on-demand paging for CpuSaveStates read/write. It was measured about 200us for either read or write the PI CpuSaveStates to framework, ~400us in total on a platform with 80 CPUs with original for loop implementation. So with on-demand paging, if the framework SMI handler doesn’t read/write CpuSaveStates, ~400us will be saved. If the handler happens to use CpuSaveStates, there will be about 20us overhead for either read or write a page which contains 5 continuous CpuSaveStates.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10328 6f19259b-4bc3-4df7-8a09-765794883524
EdkCompatibilityPkg/Compatibility/SmmBaseHelper/PageFaultHandler.c [new file with mode: 0644]
EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.c
EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.inf
EdkCompatibilityPkg/Compatibility/SmmBaseHelper/X64/PageFaultHandler.S [new file with mode: 0644]
EdkCompatibilityPkg/Compatibility/SmmBaseHelper/X64/PageFaultHandler.asm [new file with mode: 0644]