The patch titled Subject: mm-oom-reduce-dependency-on-tasklist_lock-fix-fix has been added to the -mm tree. Its filename is mm-oom-reduce-dependency-on-tasklist_lock-fix-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: David Rientjes <rientjes@xxxxxxxxxx> Subject: mm-oom-reduce-dependency-on-tasklist_lock-fix-fix Need to drop rcu lock before returning from select_bad_process() for OOM_SCAN_ABORT. Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx> Reviewed-by: Michal Hocko <mhocko@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/oom_kill.c | 1 + 1 file changed, 1 insertion(+) diff -puN mm/oom_kill.c~mm-oom-reduce-dependency-on-tasklist_lock-fix-fix mm/oom_kill.c --- a/mm/oom_kill.c~mm-oom-reduce-dependency-on-tasklist_lock-fix-fix +++ a/mm/oom_kill.c @@ -361,6 +361,7 @@ static struct task_struct *select_bad_pr case OOM_SCAN_CONTINUE: continue; case OOM_SCAN_ABORT: + rcu_read_unlock(); return ERR_PTR(-1UL); case OOM_SCAN_OK: break; _ Subject: Subject: mm-oom-reduce-dependency-on-tasklist_lock-fix-fix Patches currently in -mm which might be from rientjes@xxxxxxxxxx are linux-next.patch mm-fix-wrong-argument-of-migrate_huge_pages-in-soft_offline_huge_page.patch acpi_memhotplugc-fix-memory-leak-when-memory-device-is-unbound-from-the-module-acpi_memhotplug.patch acpi_memhotplugc-free-memory-device-if-acpi_memory_enable_device-failed.patch acpi_memhotplugc-remove-memory-info-from-list-before-freeing-it.patch acpi_memhotplugc-dont-allow-to-eject-the-memory-device-if-it-is-being-used.patch acpi_memhotplugc-bind-the-memory-device-when-the-driver-is-being-loaded.patch acpi_memhotplugc-auto-bind-the-memory-device-which-is-hotplugged-before-the-driver-is-loaded.patch slab-do-not-call-compound_head-in-page_get_cache.patch mm-buddy-cleanup-on-should_fail_alloc_page.patch hugetlb-rename-max_hstate-to-hugetlb_max_hstate.patch hugetlb-dont-use-err_ptr-with-vm_fault-values.patch hugetlb-add-an-inline-helper-for-finding-hstate-index.patch hugetlb-use-mmu_gather-instead-of-a-temporary-linked-list-for-accumulating-pages.patch hugetlb-avoid-taking-i_mmap_mutex-in-unmap_single_vma-for-hugetlb.patch hugetlb-simplify-migrate_huge_page.patch hugetlb-add-a-list-for-tracking-in-use-hugetlb-pages.patch hugetlb-make-some-static-variables-global.patch mm-hugetlb-add-new-hugetlb-cgroup.patch mm-hugetlb-add-new-hugetlb-cgroup-fix.patch mm-hugetlb-add-new-hugetlb-cgroup-fix-fix.patch hugetlb-cgroup-add-the-cgroup-pointer-to-page-lru.patch hugetlb-cgroup-add-charge-uncharge-routines-for-hugetlb-cgroup.patch hugetlb-cgroup-add-charge-uncharge-routines-for-hugetlb-cgroup-add-huge_page_order-check-to-avoid-incorrectly-uncharge.patch hugetlb-cgroup-add-support-for-cgroup-removal.patch hugetlb-cgroup-add-hugetlb-cgroup-control-files.patch hugetlb-cgroup-add-hugetlb-cgroup-control-files-fix.patch hugetlb-cgroup-add-hugetlb-cgroup-control-files-fix-fix.patch hugetlb-cgroup-migrate-hugetlb-cgroup-info-from-oldpage-to-new-page-during-migration.patch hugetlb-cgroup-add-hugetlb-controller-documentation.patch mm-oom-do-not-schedule-if-current-has-been-killed.patch mm-compaction-cleanup-on-compaction_deferred.patch mm-clear-pages_scanned-only-if-draining-a-pcp-adds-pages-to-the-buddy-allocator-again.patch mm-oom-fix-potential-killing-of-thread-that-is-disabled-from-oom-killing.patch mm-oom-replace-some-information-in-tasklist-dump.patch memcg-rename-config-variables.patch memcg-rename-config-variables-fix.patch memcg-rename-config-variables-fix-fix.patch mm-setup-pageblock_order-before-its-used-by-sparsemem.patch mm-hotplug-correctly-setup-fallback-zonelists-when-creating-new-pgdat.patch mm-hotplug-correctly-add-new-zone-to-all-other-nodes-zone-lists.patch mm-hotplug-free-zone-pageset-when-a-zone-becomes-empty.patch mm-hotplug-mark-memory-hotplug-code-in-page_allocc-as-__meminit.patch mm-oom-move-declaration-for-mem_cgroup_out_of_memory-to-oomh.patch mm-oom-introduce-helper-function-to-process-threads-during-scan.patch mm-memcg-introduce-own-oom-handler-to-iterate-only-over-its-own-threads.patch mm-oom-reduce-dependency-on-tasklist_lock.patch mm-oom-reduce-dependency-on-tasklist_lock-fix.patch mm-oom-reduce-dependency-on-tasklist_lock-fix-fix.patch mm-memcg-move-all-oom-handling-to-memcontrolc.patch mm-only-set-page-pfmemalloc-when-alloc_no_watermarks-was-used.patch mm-memcg-fix-compaction-migration-failing-due-to-memcg-limits.patch mm-memcg-push-down-pageswapcache-check-into-uncharge-entry-functions.patch mm-memcg-only-check-for-pageswapcache-when-uncharging-anon.patch mm-memcg-move-swapin-charge-functions-above-callsites.patch mm-memcg-remove-unneeded-shmem-charge-type.patch mm-memcg-remove-needless-mm-fixup-to-init_mm-when-charging.patch mm-memcg-split-swapin-charge-function-into-private-and-public-part.patch mm-memcg-only-check-swap-cache-pages-for-repeated-charging.patch mm-memcg-only-check-anon-swapin-page-charges-for-swap-cache.patch mm-sparse-optimize-sparse_index_alloc.patch mm-sparse-more-check-on-mem_section-number.patch kernel-sysc-avoid-argv_freenull.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