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

libctr: Reset the inherited cpu affinity #4041

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 28, 2023

  1. libctr: Reset the inherited cpu affinity

    Old kernels do that automatically, but new kernels remember
    the affinity that was set before the cgroup move due to
    
    https://lore.kernel.org/lkml/20220922180041.1768141-1-longman@redhat.com
    
    This is undesirable for containers, because they inherit
    the systemd affinity when the should really move to the container
    space cpus.
    
    see https://issues.redhat.com/browse/OCPBUGS-15102 for more information
    
    Co-authored-by:  Martin Sivak <msivak@redhat.com>
    Signed-off-by: Peter Hunt <pehunt@redhat.com>
    haircommander and MarSik committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    66ff048 View commit details
    Browse the repository at this point in the history