[Devel] [PATCH rh7 0/6] oom_score_adj fixes
Andrew Vagin
avagin at odin.com
Fri Jun 5 05:25:45 PDT 2015
On Wed, Jun 03, 2015 at 05:56:47PM +0300, Vladimir Davydov wrote:
> 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
Acked-by: Andrew Vagin <avagin at odin.com>
>
> 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
>
> _______________________________________________
> Devel mailing list
> Devel at openvz.org
> https://lists.openvz.org/mailman/listinfo/devel
More information about the Devel
mailing list