The patch titled oom: handle oom_disable exiting has been removed from the -mm tree. Its filename is oom-handle-oom_disable-exiting.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: oom: handle oom_disable exiting From: Nick Piggin <npiggin@xxxxxxx> Having the oomkilladj == OOM_DISABLE check before the releasing check means that oomkilladj == OOM_DISABLE tasks exiting will not stop the OOM killer. Moving the test down will give the desired behaviour. Also: it will allow them to "OOM-kill" themselves if they are exiting. As per the previous patch, this is required to prevent OOM killer deadlocks (and they don't actually get killed, because they're already exiting -- they're simply allowed access to memory reserves). Signed-off-by: Nick Piggin <npiggin@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- mm/oom_kill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN mm/oom_kill.c~oom-handle-oom_disable-exiting mm/oom_kill.c --- a/mm/oom_kill.c~oom-handle-oom_disable-exiting +++ a/mm/oom_kill.c @@ -204,8 +204,6 @@ static struct task_struct *select_bad_pr /* skip the init task with pid == 1 */ if (p->pid == 1) continue; - if (p->oomkilladj == OOM_DISABLE) - continue; /* * This is in the process of releasing memory so wait for it @@ -230,6 +228,8 @@ static struct task_struct *select_bad_pr } return ERR_PTR(-1UL); } + if (p->oomkilladj == OOM_DISABLE) + continue; if (p->flags & PF_SWAPOFF) return p; _ Patches currently in -mm which might be from npiggin@xxxxxxx are origin.patch git-block.patch page-invalidation-cleanup.patch mm-micro-optimise-zone_watermark_ok.patch radix-tree-rcu-lockless-readside.patch select_bad_process-cleanup-releasing-check.patch oom-dont-kill-current-when-another-oom-in-progress.patch sched-force-sbin-init-off-isolated-cpus.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