The patch titled Subject: mm/oom_kill.c: remove thread group leader check in oom_evaluate_task() has been added to the -mm tree. Its filename is mm-memcontrol-use-css_task_iter_procs-at-mem_cgroup_scan_tasks-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-memcontrol-use-css_task_iter_procs-at-mem_cgroup_scan_tasks-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-memcontrol-use-css_task_iter_procs-at-mem_cgroup_scan_tasks-fix.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 thread group leader check in oom_evaluate_task() Since mem_cgroup_scan_tasks() uses CSS_TASK_ITER_PROCS, only thread group leaders will be scanned (unless dying leaders with live threads). Thus d49ad9355420c743 ("mm, oom: prefer thread group leaders for display purposes") makes little sense. Link: http://lkml.kernel.org/r/1560853257-14934-1-git-send-email-penguin-kernel@xxxxxxxxxxxxxxxxxxx Signed-off-by: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> Cc: David Rientjes <rientjes@xxxxxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxx> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> Cc: Greg Thelen <gthelen@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/oom_kill.c | 3 --- 1 file changed, 3 deletions(-) --- a/mm/oom_kill.c~mm-memcontrol-use-css_task_iter_procs-at-mem_cgroup_scan_tasks-fix +++ a/mm/oom_kill.c @@ -346,9 +346,6 @@ static int oom_evaluate_task(struct task if (!points || points < oc->chosen_points) goto next; - /* Prefer thread group leaders for display purposes */ - if (points == oc->chosen_points && thread_group_leader(oc->chosen)) - goto next; select: if (oc->chosen) put_task_struct(oc->chosen); _ 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-memcontrol-use-css_task_iter_procs-at-mem_cgroup_scan_tasks-fix.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