Visitar URL original
vmm: Turn reserve=on if hugepages=on · Issue #8742 · cloud-hypervisor/cloud-hypervisor · GitHub
Skip to content

vmm: Turn reserve=on if hugepages=on #8742

Description

@rbradford

I think it would make sense to make sure that the huge pages are available by changing the default behaviour of reserve to be on when hugepages is on. This would mean that a configuration error where there weren't enough huge pages available in the system would be exposed immediately on boot rather than later via a SIGBUS.

Any objections?

Activity

  1. phip1611 commented on Aug 18, 2026

    @phip1611
    Member

    We discussed this internally and we think this makes sense! What is/should be the interaction with prefault=on? we use prefaulting in our setup. As prefaulting is basically "reserve but more", I'd expect that if prefault is activated, everything is kept as it. Right?

  2. tpressure commented on Aug 18, 2026

    @tpressure
    Member

    Sounds like the correct approach to me.

  3. rbradford commented on Aug 18, 2026

    @rbradford
    MemberAuthor

    Yeh prefault=on takes precedence

  4. added 6 commits that reference this issue on Aug 22, 2026
    32a8404
    fbdff2c
    2c524be
    3dc0a2b
    8c8fdc0
    7328cc6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions