Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MdeModulePkg: Optimize PEI Core Migration Algorithm #5966

Closed

Commits on Jul 25, 2024

  1. MdeModulePkg: Optimize PEI Core Migration Algorithm

    REF : https://bugzilla.tianocore.org/show_bug.cgi?id=4750
    
    Migrate the FV that doesn't contain the currently executing PEI Core
    when permanent memory is initialized but PEI Core is still potentially
    running from faster memory (Tepmorary RAM). This may reduce the time
    required to migrate FVs to permanent memory. The FV containing PEI
    Core is migrated after the PEI Core reentry when it is executed from
    permanent memory.
    
    This may or may not improve performance depending on the behavior of
    temporary RAM and the actual performance changes must be measured with
    the feature enabled and disabled.
    
    This migration algorithm is only used for FVs specified in the
    gEdkiiMigrationInfoGuid HOB and built with flag
    FLAGS_FV_MIGRATE_BEFORE_PEI_CORE_REENTRY.
    
    Signed-off-by: Awiral Shrivastava <[email protected]>
    awiralsh committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    9ce1599 View commit details
    Browse the repository at this point in the history