112959 cgroup: introduce support for cgroup v2 CPUSET controller

14 files Authored by Pavel Hrdina 4 years ago, Committed by Packit Service 4 years ago,
    cgroup: introduce support for cgroup v2 CPUSET controller
    
    Introduce support for configuring cpus and mems for processes using
    cgroup v2 CPUSET controller.  This allows users to limit which cpus
    and memory NUMA nodes can be used by processes to better utilize
    system resources.
    
    The cgroup v2 interfaces to control it are cpuset.cpus and cpuset.mems
    where the requested configuration is written.  However, it doesn't mean
    that the requested configuration will be actually used as parent cgroup
    may limit the cpus or mems as well.  In order to reflect the real
    configuration cgroup v2 provides read-only files cpuset.cpus.effective
    and cpuset.mems.effective which are exported to users as well.
    
    (cherry picked from commit 047f5d63d7a1ab75073f8485e2f9b550d25b0772)
    
    Related: #1724617
    
    patch_name: 0330-cgroup-introduce-support-for-cgroup-v2-CPUSET-contro.patch
    present_in_specfile: true
    location_in_specfile: 330
    squash_commits: true
    
        
file modified
+2 -0
file modified
+1 -0
file modified
+2 -0
file modified
+63 -0
file modified
+5 -0
file modified
+59 -0
file modified
+48 -0
file modified
+38 -0
file modified
+2 -0
file modified
+16 -0
file modified
+1 -1
file modified
+2 -1