The patch titled oom: task lock current before dereferencing cpuset has been removed from the -mm tree. Its filename was oom-print-triggering-tasks-cpuset-and-mems-allowed-fix.patch This patch was dropped because it was folded into oom-print-triggering-tasks-cpuset-and-mems-allowed.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: oom: task lock current before dereferencing cpuset From: David Rientjes <rientjes@xxxxxxxxxx> As the comment in cpuset_print_task_mems_allowed() indicates, it's necessary to take task_lock() on current before dereferencing its cpuset. Cc: Li Zefan <lizf@xxxxxxxxxxxxxx> Cc: Paul Menage <menage@xxxxxxxxxx> Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/oom_kill.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN mm/oom_kill.c~oom-print-triggering-tasks-cpuset-and-mems-allowed-fix mm/oom_kill.c --- a/mm/oom_kill.c~oom-print-triggering-tasks-cpuset-and-mems-allowed-fix +++ a/mm/oom_kill.c @@ -392,7 +392,9 @@ static int oom_kill_process(struct task_ printk(KERN_WARNING "%s invoked oom-killer: " "gfp_mask=0x%x, order=%d, oomkilladj=%d\n", current->comm, gfp_mask, order, current->oomkilladj); + task_lock(current); cpuset_print_task_mems_allowed(current); + task_unlock(current); dump_stack(); show_mem(); if (sysctl_oom_dump_tasks) _ Patches currently in -mm which might be from rientjes@xxxxxxxxxx are origin.patch oom-fix-zone_scan_mutex-name.patch oom-print-triggering-tasks-cpuset-and-mems-allowed.patch oom-print-triggering-tasks-cpuset-and-mems-allowed-fix.patch mm-change-dirty-limit-type-specifiers-to-unsigned-long.patch mm-add-dirty_background_bytes-and-dirty_bytes-sysctls.patch mm-add-dirty_background_bytes-and-dirty_bytes-sysctls-fix.patch mm-make-get_user_pages-interruptible.patch mm-make-get_user_pages-interruptible-mmotm-ignore-sigkill-in-get_user_pages-during-munlock.patch memory-cgroup-hierarchy-documentation-v4.patch memory-cgroup-resource-counters-for-hierarchy-v4.patch memory-cgroup-resource-counters-for-hierarchy-v4-checkpatch-fixes.patch memory-cgroup-hierarchical-reclaim-v4.patch memory-cgroup-hierarchical-reclaim-v4-checkpatch-fixes.patch memory-cgroup-hierarchical-reclaim-v4-fix-for-hierarchical-reclaim.patch memory-cgroup-hierarchy-feature-selector-v4.patch memory-cgroup-hierarchy-feature-selector-v4-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