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

[release-4.13] OCPBUGS-18829: cm: reorder setting of sched_load_balance for sandbox slice #1696

Commits on Sep 12, 2023

  1. UPSTREAM: <carry>: cm: reorder setting of sched_load_balance for sand…

    …box slice
    
    If we call mgr.Apply() first, libcontainer's cpusetCopyIfNeeded()
    will copy the parent cpuset and set load balancing to 1 by default.
    This causes the kernel to set the cpus to not load balanced for a brief moment
    which causes churn.
    
    instead, create the cgroup and set load balance, then have Apply() copy the values into it.
    
    Signed-off-by: Peter Hunt <pehunt@redhat.com>
    haircommander authored and openshift-cherrypick-robot committed Sep 12, 2023
    Copy the full SHA
    fea1484 View commit details
    Browse the repository at this point in the history