[Devel] [PATCH rh7 0/6] oom_score_adj fixes

Vladimir Davydov vdavydov at parallels.com
Wed Jun 3 07:56:47 PDT 2015


This patch /proc/PID/{oom_score_adj,oom_adj,oom_score} behavior inside a
CT, resurrecting /proc/vz/oom_score_adj along the way. For more details,
see individual patches.

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

Vladimir Davydov (6):
  memcg: add function to get max mem+swap
  proc: use memcg limits for showing oom_score inside CT
  mm: ignore oom_score_adj of containerized tasks on global OOM
  proc: allow to set oom_score_adj from inside a container
  oom: do not impose grouping rules if process score is adjusted
  mm: enable oom grouping rules on OOM

 fs/proc/base.c             | 16 +++++++---------
 include/bc/beancounter.h   |  1 -
 include/linux/memcontrol.h |  4 ++--
 include/linux/oom.h        | 10 ++++++++++
 kernel/bc/io_acct.c        |  2 +-
 kernel/bc/proc.c           |  3 ---
 mm/memcontrol.c            |  8 ++++++--
 mm/oom_group.c             |  9 ++++-----
 mm/oom_kill.c              | 12 +++++++++++-
 mm/shmem.c                 |  2 +-
 10 files changed, 42 insertions(+), 25 deletions(-)

-- 
2.1.4




More information about the Devel mailing list