]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/load-fragment.c
core: always use "infinity" for no upper limit instead of "max" (#3417)
authorTejun Heo <htejun@fb.com>
Fri, 3 Jun 2016 15:49:05 +0000 (08:49 -0700)
committerLennart Poettering <lennart@poettering.net>
Fri, 3 Jun 2016 15:49:05 +0000 (17:49 +0200)
commite57c9ce169a135c0461108075a72bc2bedb299c7
treefad36a84a5aa43f047043d47db593a3eea7ffc54
parentac9b215d0cf4b74f2ba1afe341817553a67fe2bb
core: always use "infinity" for no upper limit instead of "max" (#3417)

Recently added cgroup unified hierarchy support uses "max" in configurations
for no upper limit.  While consistent with what the kernel uses for no upper
limit, it is inconsistent with what systemd uses for other controllers such as
memory or pids.  There's no point in introducing another term.  Update cgroup
unified hierarchy support so that "infinity" is the only term that systemd
uses for no upper limit.
man/systemd.resource-control.xml
src/core/load-fragment.c
src/shared/bus-unit-util.c