[Devel] [PATCH rh7 v3 0/2] ub: make bc cgroup in sync with pids and memory cgroups

Konstantin Khorenko khorenko at virtuozzo.com
Wed Apr 1 14:56:22 MSK 2020


In particular this patchset fixes the situation when we don't find expected
failcounters in beancounter cgroup.

https://jira.sw.ru/browse/PSBM-95266

v2:
  - Removed unnecessary precharge sutraction while reading attribute 'held'
  - Added sync for pid statistics in statd code.
v3:
  - dropped ...snapshot_{one,all} helpers, not needed anymore
  - splitted into 2 separate patches
  - enhanced commit message with explantion about "held" difference in bc
    cgroup and in /proc/bc/...

Valeriy Vdovin (2):
  ub: introduce helper for real "held" value (without precharge)
  ub: show up to date data counters in beancounter cgroup

 include/bc/beancounter.h | 18 ++++++++++++++++++
 kernel/bc/beancounter.c  | 16 ++++++++++++++++
 kernel/bc/proc.c         |  3 +--
 kernel/bc/statd.c        | 12 ++++++++++++
 4 files changed, 47 insertions(+), 2 deletions(-)

-- 
2.15.1



More information about the Devel mailing list