]> git.proxmox.com Git - pve-container.git/commit
fix growing of a running container's memory limit
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 8 Feb 2016 07:48:28 +0000 (08:48 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 8 Feb 2016 11:15:29 +0000 (12:15 +0100)
commita2c57b0c34e93e82007283a1a35ac135b163d35c
treed01666518a8d28bc1209613c64184d7c7bfbc2f2
parent5a212df86052571ba0a10fc15d534ad9deb948ec
fix growing of a running container's memory limit

Since the memory cgroup has a memory and a "total" value
depending on whether you're increasing or decreasing the
values you have to set then in a working order. (Eg. you
can't reduce the total amount to less than the swap limit
or grow the swap limit to more than the total one.)
src/PVE/LXC.pm