[pve-devel] applied: [PATCH common v3 2/2] add function to retrieve pressures from cgroup
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Jul 17 00:33:16 CEST 2025
Am 15.07.25 um 16:31 schrieb Aaron Lauterer:
> From: Folke Gleumes <f.gleumes at proxmox.com>
>
> Originally-by: Folke Gleumes <f.gleumes at proxmox.com>
> [AL:
> * rebased on current master
> * merged into single function for generic cgroups
> * renamed commit to match single generic function
> ]
> Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
> ---
>
> Notes:
> while the read_cgroup_pressure function would fit better into
> SysFSTools.pm I have kept it in ProcFSTools.pm for now, mainly because
> we currently don't use ProcFSTools in SysFSTools, and the actual
> function to parse the contents of the pressure files in in ProcFSTools.
>
> If that would not be an issue, we could also move the
> read_cgroup_pressure function to SysFSTools
>
> changes since
> RFC:
> * instead of dedicated functions for CTs and VMs we use a more generic
> for cgroups in general
>
> src/PVE/ProcFSTools.pm | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
>
applied, thanks!
More information about the pve-devel
mailing list