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

pmm: simpler and bugfix process_memory_range loop #339

Merged
merged 2 commits into from
Oct 31, 2024

Commits on Feb 23, 2024

  1. pmm: simpler and bugfix process_memory_range loop

    This simplifies the adding of frames during boot. It also fixes a bug for
    configurations with > 1GB memory. After the initial 4K frames, the current
    (`cur`) is aligned to 2MB.  Trying to add a 1GB frame at this point will
    lead to page faults further down the line as we end up with misaligned page
    frame mfns.
    
    Signed-off-by: Johannes Wikner <[email protected]>
    sktt committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    4702f1d View commit details
    Browse the repository at this point in the history
  2. pmm: remove unused find_max_avail_order

    Previously used but with the current pmm loop, there's no need for it.
    
    Signed-off-by: Johannes Wikner <[email protected]>
    sktt committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    8c4da59 View commit details
    Browse the repository at this point in the history