]> git.proxmox.com Git - pve-container.git/commit
memory: enforce memory.high also on hotplug changes
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 26 Apr 2023 14:21:21 +0000 (16:21 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 26 Apr 2023 14:58:10 +0000 (16:58 +0200)
commit926b193e066e12e7d9ca24dade37635781af2368
treebdd3b824fcf69db9f1e6a61b6d904d97b027a13e
parent09ea3e7fb3f166d11d245abf26ba9d02a829ab93
memory: enforce memory.high also on hotplug changes

Factor out the calculation into a method to ensure it keeps in sync
and then use the newly added parameter of the change_memory_limit
PVE::CGroup method, bump the dependency in d/control respectively.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/control
src/PVE/LXC.pm
src/PVE/LXC/Config.pm