The patch titled Subject: mm-oom-task_will_free_memcurrent-should-ignore-mmf_oom_skip-for-once-fix has been added to the -mm tree. Its filename is mm-oom-task_will_free_memcurrent-should-ignore-mmf_oom_skip-for-once-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-oom-task_will_free_memcurrent-should-ignore-mmf_oom_skip-for-once-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-oom-task_will_free_memcurrent-should-ignore-mmf_oom_skip-for-once-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/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-oom-task_will_free_memcurrent-should-ignore-mmf_oom_skip-for-once-fix tweak comment, s/true/1/ Cc: David Rientjes <rientjes@xxxxxxxxxx> Cc: Manish Jaggi <mjaggi@xxxxxxxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Oleg Nesterov <oleg@xxxxxxxxxx> Cc: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> Cc: Vladimir Davydov <vdavydov@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/oom_kill.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff -puN mm/oom_kill.c~mm-oom-task_will_free_memcurrent-should-ignore-mmf_oom_skip-for-once-fix mm/oom_kill.c --- a/mm/oom_kill.c~mm-oom-task_will_free_memcurrent-should-ignore-mmf_oom_skip-for-once-fix +++ a/mm/oom_kill.c @@ -780,15 +780,15 @@ static bool task_will_free_mem(struct ta return false; /* - * It is possible that current thread fails to try allocation from + * It is possible that the current thread fails to try allocation from * memory reserves if the OOM reaper set MMF_OOM_SKIP on this mm before - * current thread calls out_of_memory() in order to get TIF_MEMDIE. - * In that case, allow current thread to try TIF_MEMDIE allocation - * before start selecting next OOM victims. + * the current thread called out_of_memory() in order to get TIF_MEMDIE. + * In that case, allow the current thread to try TIF_MEMDIE allocation + * before starting to select the next OOM victims. */ if (test_bit(MMF_OOM_SKIP, &mm->flags)) { if (task == current && !task->oom_kill_free_check_raced) { - task->oom_kill_free_check_raced = true; + task->oom_kill_free_check_raced = 1; return true; } return false; _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are i-need-old-gcc.patch mm-make-tlb_flush_pending-global-fix.patch mm-oom-task_will_free_memcurrent-should-ignore-mmf_oom_skip-for-once-fix.patch arm-arch-arm-include-asm-pageh-needs-personalityh.patch ocfs2-old-mle-put-and-release-after-the-function-dlm_add_migration_mle-called-fix.patch ocfs2-dlm-optimization-of-code-while-free-dead-node-locks-checkpatch-fixes.patch mm.patch mm-memory_hotplug-just-build-zonelist-for-new-added-node-fix.patch mm-memory_hotplug-just-build-zonelist-for-new-added-node-fix-fix.patch mm-thp-enable-thp-migration-in-generic-path-fix-fix.patch zsmalloc-zs_page_migrate-skip-unnecessary-loops-but-not-return-ebusy-if-zspage-is-not-inuse-fix.patch treewide-remove-gfp_temporary-allocation-flag-fix.patch treewide-remove-gfp_temporary-allocation-flag-checkpatch-fixes.patch userfaultfd-selftest-exercise-uffdio_copy-zeropage-eexist-fix.patch add-testcases-for-memset16-32-64-fix.patch kernel-reboot-add-devm_register_reboot_notifier-fix.patch linux-next-rejects.patch kernel-forkc-export-kernel_thread-to-modules.patch slab-leaks3-default-y.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