The patch titled sys_get_robust_list(): don't take tasklist_lock has been added to the -mm tree. Its filename is sys_get_robust_list-dont-take-tasklist_lock.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: sys_get_robust_list(): don't take tasklist_lock From: Oleg Nesterov <oleg@xxxxxxxxxx> use rcu locks for find_task_by_pid(). Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/futex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN kernel/futex.c~sys_get_robust_list-dont-take-tasklist_lock kernel/futex.c --- a/kernel/futex.c~sys_get_robust_list-dont-take-tasklist_lock +++ a/kernel/futex.c @@ -1686,7 +1686,7 @@ sys_get_robust_list(int pid, struct robu struct task_struct *p; ret = -ESRCH; - read_lock(&tasklist_lock); + rcu_read_lock(); p = find_task_by_pid(pid); if (!p) goto err_unlock; @@ -1695,7 +1695,7 @@ sys_get_robust_list(int pid, struct robu !capable(CAP_SYS_PTRACE)) goto err_unlock; head = p->robust_list; - read_unlock(&tasklist_lock); + rcu_read_unlock(); } if (put_user(sizeof(*head), len_ptr)) @@ -1703,7 +1703,7 @@ sys_get_robust_list(int pid, struct robu return put_user(head, head_ptr); err_unlock: - read_unlock(&tasklist_lock); + rcu_read_unlock(); return ret; } _ Patches currently in -mm which might be from oleg@xxxxxxxxxx are origin.patch for-2618-revert-drop-tasklist-lock-in-do_sched_setscheduler.patch pid-implement-transfer_pid-and-use-it-to-simplify-de_thread.patch pid-remove-temporary-debug-code-in-attach_pid.patch rtmutex-clean-up-and-remove-some-extra-spinlocks.patch rtmutex-clean-up-and-remove-some-extra-spinlocks-more.patch elf_core_dump-dont-take-tasklist_lock.patch elf_fdpic_core_dump-dont-take-tasklist_lock.patch has_stopped_jobs-cleanup.patch __dequeue_signal-cleanup.patch do_sched_setscheduler-dont-take-tasklist_lock.patch introduce-is_rt_policy-helper.patch sched_setscheduler-fix-policy-checks.patch reparent_to_init-use-has_rt_policy.patch copy_process-cosmetic-ioprio-tweak.patch futex_find_get_task-remove-an-obscure-exit_zombie-check.patch futex_find_get_task-dont-take-tasklist_lock.patch sys_get_robust_list-dont-take-tasklist_lock.patch simplify-pid-iterators.patch pidhash-temporary-debug-checks.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