mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-19 13:34:21 +01:00
When update memory limit, we should adapt the write sequence for memory and swap memory, so it won't fail because the new value and the old value don't fit kernel's validation. Fixes: #1917 Signed-off-by: fupan.lfp <fupan.lfp@antgroup.com>