[pve-devel] applied-series: [PATCH V2 pve-common 0/4] add generic CGroup module
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Nov 6 09:31:49 CET 2020
On 06.11.20 09:24, Alexandre Derumier wrote:
> 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)
>
>
> Changelog v2:
>
> - keep get_subdir in base class
>
> 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 | 551 +++++++++++++++++++++++++++++++++++++++++++++
> src/PVE/Systemd.pm | 2 +-
> 3 files changed, 553 insertions(+), 1 deletion(-)
> create mode 100644 src/PVE/CGroup.pm
>
applied series, thanks!
More information about the pve-devel
mailing list