UB_PHYSPAGES, UB_SWAPPAGES, UB_KMEMSIZE are now accounted on the memcg
size. However, some stats differ between beancounters and memcg (e.g.
failcnt). This patch set fixes them. For more details, see individual
patches.

Related to https://jira.sw.ru/browse/PSBM-20089

Vladimir Davydov (4):
  memcg: show correct swap max for beancounters
  memcg: show correct mem/swap failcnt for beancounters
  memcg: assure swap->held/maxheld < swap->limit for beancounters
  ub: deprecate kmemsize limit

 kernel/bc/beancounter.c |    4 +--
 mm/memcontrol.c         |   77 ++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 61 insertions(+), 20 deletions(-)

-- 
1.7.10.4

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to