[pve-devel] [PATCH pve-common 0/4] add generic CGroup module
Alexandre Derumier
aderumier at odiso.com
Fri Oct 30 10:42:13 CET 2020
This move Cgroup module from LXC to pve-common,
to be able to use it in qemu-server too.
(and add support for cgroupv2 only for qemu)
I have also included a bugfix for cpushares from cgroup v1,
when value is not defined,it's currently set to 100 instead 1024.
(can be trigerred by pct --delete cpuunits)
Alexandre Derumier (4):
move PVE::LXC::CGroup to PVE::CGroup
Cgroups: remove specific lxc code
bugfix: cpushares : default value is 1024 for cgroup v1
systemd: add CPUWeight encoding
src/Makefile | 1 +
src/PVE/CGroup.pm | 544 +++++++++++++++++++++++++++++++++++++++++++++
src/PVE/Systemd.pm | 2 +-
3 files changed, 546 insertions(+), 1 deletion(-)
create mode 100644 src/PVE/CGroup.pm
--
2.20.1
More information about the pve-devel
mailing list