diff options
author | Michal Sekletar <msekleta@redhat.com> | 2019-03-12 18:58:26 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-06-24 16:58:54 +0200 |
commit | b070c7c0e133362ab5e20875e7294908004266af (patch) | |
tree | 2aa0a0554298819e9c5fff3e7190e6261b43f92d /src/shared/exit-status.h | |
parent | c4556774496326b7288013008c0798540f88702c (diff) | |
download | systemd-b070c7c0e133362ab5e20875e7294908004266af.tar.gz systemd-b070c7c0e133362ab5e20875e7294908004266af.tar.bz2 systemd-b070c7c0e133362ab5e20875e7294908004266af.zip |
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.
Diffstat (limited to 'src/shared/exit-status.h')
-rw-r--r-- | src/shared/exit-status.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/exit-status.h b/src/shared/exit-status.h index 510eb319cf..5637e6aa04 100644 --- a/src/shared/exit-status.h +++ b/src/shared/exit-status.h @@ -69,6 +69,7 @@ enum { EXIT_CACHE_DIRECTORY, EXIT_LOGS_DIRECTORY, /* 240 */ EXIT_CONFIGURATION_DIRECTORY, + EXIT_NUMA_POLICY, EXIT_EXCEPTION = 255, /* Whenever we want to propagate an abnormal/signal exit, in line with bash */ }; |