The patch titled Subject: mm-oom_kill-fix-the-wrong-task-mm-==-mm-checks-in-oom_kill_process-fix has been removed from the -mm tree. Its filename was mm-oom_kill-fix-the-wrong-task-mm-==-mm-checks-in-oom_kill_process-fix.patch This patch was dropped because it was folded into mm-oom_kill-fix-the-wrong-task-mm-==-mm-checks-in-oom_kill_process.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-oom_kill-fix-the-wrong-task-mm-==-mm-checks-in-oom_kill_process-fix document process_shares_mm() a bit Cc: David Rientjes <rientjes@xxxxxxxxxx> Cc: Kyle Walker <kwalker@xxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Oleg Nesterov <oleg@xxxxxxxxxx> Cc: Stanislav Kozina <skozina@xxxxxxxxxx> Cc: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/oom_kill.c | 6 ++++++ 1 file changed, 6 insertions(+) diff -puN mm/oom_kill.c~mm-oom_kill-fix-the-wrong-task-mm-==-mm-checks-in-oom_kill_process-fix mm/oom_kill.c --- a/mm/oom_kill.c~mm-oom_kill-fix-the-wrong-task-mm-==-mm-checks-in-oom_kill_process-fix +++ a/mm/oom_kill.c @@ -483,6 +483,12 @@ void oom_killer_enable(void) oom_killer_disabled = false; } +/* + * task->mm can be NULL if the task is the exited group leader. So to + * determine whether the task is using a particular mm, we examine all the + * task's threads: if one of those is using this mm then this task was also + * using it. + */ static bool process_shares_mm(struct task_struct *p, struct mm_struct *mm) { struct task_struct *t; _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are uaccess-reimplement-probe_kernel_address-using-probe_kernel_read.patch mm-oom_kill-fix-the-wrong-task-mm-==-mm-checks-in-oom_kill_process.patch mm-vmstatc-uninline-node_page_state.patch mm-vmstatc-uninline-node_page_state-fix.patch mm-cmac-suppress-warning.patch memcg-fix-thresholds-for-32b-architectures-fix-fix.patch kasan-various-fixes-in-documentation-checkpatch-fixes.patch mm-slub-kasan-enable-user-tracking-by-default-with-kasan=y-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html