commit | b55c9b8e717d1967e6aa16c1e2646fc81d899ab7 | [log] [download] |
---|---|---|
author | Pavel Hrdina <phrdina@redhat.com> | Mon Jul 29 17:50:05 2019 +0200 |
committer | The Plumber <50238977+systemd-rhel-bot@users.noreply.github.com> | Fri Feb 21 11:21:40 2020 +0100 |
tree | 540335e0d6819da2a0d807f96379bd498943b140 | |
parent | 11f5677752f9b78239214b3064e5a2c3712d71b1 [diff] |
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
General information about systemd can be found in the systemd Wiki.
Information about build requirements are provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the HACKING file for information how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.