Re: [PATCH v2] mm: LMK, adjust oom_score_adj when fork a new process

2020-08-13 Thread Christian Brauner
On Thu, Aug 13, 2020 at 10:53:31AM +0800, hui yang wrote: > From: YangHui > > Also it rely on inheritance,But there are some things you need't inheriting > if all children oom_score_adj is -1000,the oom is meaningless I can just reapeat what I said before: we will not be changing inheritance

[PATCH v2] mm: LMK, adjust oom_score_adj when fork a new process

2020-08-12 Thread hui yang
From: YangHui Also it rely on inheritance,But there are some things you need't inheriting if all children oom_score_adj is -1000,the oom is meaningless Signed-off-by: YangHui --- include/uapi/linux/oom.h | 1 + kernel/fork.c| 4 ++-- 2 files changed, 3 insertions(+), 2