This series reworks memory.memsw usage in vz-specific cgroup code to work correctly on cgroup-v2.
https://virtuozzo.atlassian.net/browse/VSTOR-105819 Signed-off-by: Pavel Tikhomirov <[email protected]> Pavel Tikhomirov (4): ve/proc: Fix meminfo swap calculations on cgroup-v2 Revert "mm/mecontrol: add memcg_[un]charge_kmem() API" mm/memcontrol: use cgroup_subsys_on_dfl to detect cgroup-v2 mm/memcontrol: switch to memory refcount to track memory overcommit on cgroup-v2 include/linux/memcontrol.h | 11 ----------- mm/memcontrol.c | 31 ++++++++----------------------- mm/show_mem.c | 20 +++++++++++++++----- 3 files changed, 23 insertions(+), 39 deletions(-) -- 2.51.0 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
