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

[VM] Override address size limit to unlimited #827

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 3, 2022

  1. [VM] Override address size limit to unlimited

    The "build" script limits PRLIMIT_AS to (2/3) * (mem_size + swap_size),
    which breaks asan, which tries to opportunistically allocate multiple TB
    of memory, but crucially never even closely uses this.
    
    This commit eliminates the memory limit right before spawning VMs (and
    containers) if necessary, so that stage2 can run unrestricted
    (notwithstanding the memory limit imposed by hypervisors) and use memory
    overcommitment within the build process.
    
    See the linked bug for a discussion of this.
    
    Fixes: openSUSE#826
    Ionic committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    d459e57 View commit details
    Browse the repository at this point in the history