]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.resource-control.xml
core: make settings for unified cgroup hierarchy supersede the ones for legacy hierar...
authorTejun Heo <htejun@fb.com>
Sat, 15 Oct 2016 01:07:16 +0000 (21:07 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 15 Oct 2016 01:07:16 +0000 (21:07 -0400)
commit7d862ab8c25d5c20eae6ed28c10c00c525c64a1f
treec194631e43c44acab2ee7b89da036cc17ba7098f
parent5c4624e082c0c153df63c0d11e31a85c73f770b7
core: make settings for unified cgroup hierarchy supersede the ones for legacy hierarchy (#4269)

There are overlapping control group resource settings for the unified and
legacy hierarchies.  To help transition, the settings are translated back and
forth.  When both versions of a given setting are present, the one matching the
cgroup hierarchy type in use is used.  Unfortunately, this is more confusing to
use and document than necessary because there is no clear static precedence.

Update the translation logic so that the settings for the unified hierarchy are
always preferred.  systemd.resource-control man page is updated to reflect the
change and reorganized so that the deprecated settings are at the end in its
own section.
man/systemd.resource-control.xml
src/core/cgroup.c