a6ac9b core: introduce NUMAPolicy and NUMAMask options

18 files Authored by Michal Sekletár 4 years ago, Committed by Packit Service 4 years ago,
    core: introduce NUMAPolicy and NUMAMask options
    
    Make possible to set NUMA allocation policy for manager. Manager's
    policy is by default inherited to all forked off processes. However, it
    is possible to override the policy on per-service basis. Currently we
    support, these policies: default, prefer, bind, interleave, local.
    See man 2 set_mempolicy for details on each policy.
    
    Overall NUMA policy actually consists of two parts. Policy itself and
    bitmask representing NUMA nodes where is policy effective. Node mask can
    be specified using related option, NUMAMask. Default mask can be
    overwritten on per-service level.
    
    (cherry-picked from commit fe9c54b2188e6cd23262a319f96b13215f2c5e9c)
    
    Resolves: #1734787
    
    patch_name: 0288-core-introduce-NUMAPolicy-and-NUMAMask-options.patch
    present_in_specfile: true
    location_in_specfile: 288
    squash_commits: true
    
        
file modified
+19 -0
file modified
+28 -0
file modified
+4 -0
file modified
+91 -0
file modified
+28 -0
file modified
+3 -0
file modified
+1 -0
file modified
+43 -0
file modified
+62 -3
file modified
+20 -0
file modified
+1 -0
file modified
+28 -0
file modified
+2 -0
file modified
+27 -0
file modified
+2 -0
file modified
+28 -0
file modified
+16 -2