Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cgroupv2: set MemorySwapMax= for systemd
While at it, if a memory is unlimited, set swap to unlimited, too, to be in line with the cgroupv1 runc behavior. For background, see commit 18ebc51 (Reset Swap when memory is set to unlimited, Oct 19 2016). NB: systemd does not have MemorySwapMax for cgroupv1. Signed-off-by: Kir Kolyshkin <[email protected]>
- Loading branch information