]> git.ipfire.org Git - thirdparty/systemd.git/commit
cgroup v2: DefaultCPUAccounting=yes if CPU controller isn't required 10507/head
authorChris Down <chris@chrisdown.name>
Thu, 25 Oct 2018 13:03:58 +0000 (14:03 +0100)
committerChris Down <chris@chrisdown.name>
Sun, 18 Nov 2018 12:21:41 +0000 (12:21 +0000)
commita88c5b8ac4df713d9831d0073a07fac82e884fb3
treece2a11374a53f32e4763db1974f137c9f72a3539
parent94ddb08d74559d23358cd3b75e619abf43f39197
cgroup v2: DefaultCPUAccounting=yes if CPU controller isn't required

We now don't enable the CPU controller just for CPU accounting if we are
on 4.15+ and using pure unified hierarchy, as this is provided
externally to the CPU controller. This makes CPUAccounting=yes
essentially free, so enabling it by default when it's cheap seems like a
good idea.
man/systemd-system.conf.xml
src/core/main.c