The patch titled Subject: mm/oom_kill.c: remove redundant OOM score normalization in select_bad_process() has been added to the -mm tree. Its filename is mm-oom-remove-redundant-oom-score-normalization-at-select_bad_process.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-oom-remove-redundant-oom-score-normalization-at-select_bad_process.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-oom-remove-redundant-oom-score-normalization-at-select_bad_process.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> Subject: mm/oom_kill.c: remove redundant OOM score normalization in select_bad_process() Since bbbe48029720d2c6 ("mm, oom: remove 'prefer children over parent' heuristic") removed the "%s: Kill process %d (%s) score %u or sacrifice child\n" line, oc->chosen_points is no longer used after select_bad_process(). Link: http://lkml.kernel.org/r/1560853435-15575-1-git-send-email-penguin-kernel@xxxxxxxxxxxxxxxxxxx Signed-off-by: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> Cc: Shakeel Butt <shakeelb@xxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Roman Gushchin <guro@xxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: David Rientjes <rientjes@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/oom_kill.c | 2 -- 1 file changed, 2 deletions(-) --- a/mm/oom_kill.c~mm-oom-remove-redundant-oom-score-normalization-at-select_bad_process +++ a/mm/oom_kill.c @@ -383,8 +383,6 @@ static void select_bad_process(struct oo break; rcu_read_unlock(); } - - oc->chosen_points = oc->chosen_points * 1000 / oc->totalpages; } static int dump_task(struct task_struct *p, void *arg) _ Patches currently in -mm which might be from penguin-kernel@xxxxxxxxxxxxxxxxxxx are mm-memcontrol-use-css_task_iter_procs-at-mem_cgroup_scan_tasks.patch mm-oom-remove-redundant-oom-score-normalization-at-select_bad_process.patch info-task-hung-in-generic_file_write_iter.patch info-task-hung-in-generic_file_write-fix.patch