[Devel] [PATCH rh7 0/4] ub: fix memcg resource accounting

Vladimir Davydov vdavydov at parallels.com
Tue May 19 07:31:44 PDT 2015


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




More information about the Devel mailing list