]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: write cgroup limits as permilles
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 5 Nov 2019 19:18:11 +0000 (20:18 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 14 Nov 2019 17:41:54 +0000 (18:41 +0100)
commit0877d4e0cf8ee02bd460045a77cbe1b7aa497239
treeeebf9fab228920132b44d0c1394eae4438e19c2f
parente617e2ccd790fda92efadcb917ba90de9f832022
core: write cgroup limits as permilles

We allow expressing configuration as a fraction with granularity of 0.001, but
when writing out the unit file, we'd round that up to 0.01.

Longer term, I think it'd be nicer to simply use floats and do away with
arbitrary restrictions on precision.
src/core/dbus-cgroup.c