On 04/10, Eric W. Biederman wrote: > > I believe this is 2.6.17 material as the bug is present in > 2.6.17-rc1 and the fix is simple. > > ... > > + list_del_init(&leader->tasks); I beleive this is ok for 2.6.17-rc1, but this breaks lockless for_each_process/while_each_thread (I am talking about -mm tree). Andrew, could you please drop these ones: task-make-task-list-manipulations-rcu-safe-fix.patch task-make-task-list-manipulations-rcu-safe-fix-fix.patch Then we need this "patch" for de_thread: - list_add_tail_rcu(¤t->tasks, &init_task.tasks); + list_replace_rcu(&leader->tasks, ¤t->tasks); ... - list_del_init(&leader->tasks); Currently I don't know how the code looks in -mm tree, I lost the plot. Oleg. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] de_thread: Don't confuse users do_each_thread.
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH] de_thread: Don't confuse users do_each_thread.
- From: Andrew Morton <[email protected]>
- Re: [PATCH] de_thread: Don't confuse users do_each_thread.
- References:
- [PATCH rc1-mm] de_thread: fix deadlockable process addition
- From: Oleg Nesterov <[email protected]>
- Re: [PATCH rc1-mm] de_thread: fix deadlockable process addition
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH rc1-mm] de_thread: fix deadlockable process addition
- From: Oleg Nesterov <[email protected]>
- Re: [PATCH rc1-mm] de_thread: fix deadlockable process addition
- From: Andrew Morton <[email protected]>
- Re: [PATCH rc1-mm] de_thread: fix deadlockable process addition
- From: Andrew Morton <[email protected]>
- Re: [PATCH rc1-mm] de_thread: fix deadlockable process addition
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH rc1-mm] de_thread: fix deadlockable process addition
- From: Oleg Nesterov <[email protected]>
- [PATCH] de_thread: Don't confuse users do_each_thread.
- From: [email protected] (Eric W. Biederman)
- [PATCH] de_thread: Don't confuse users do_each_thread.
- From: [email protected] (Eric W. Biederman)
- [PATCH rc1-mm] de_thread: fix deadlockable process addition
- Prev by Date: Re: [RFC/PATCH] remove unneeded check in bcm43xx
- Next by Date: Re: [PATCH] de_thread: Don't confuse users do_each_thread.
- Previous by thread: Re: [PATCH] de_thread: Don't confuse users do_each_thread.
- Next by thread: Re: [PATCH] de_thread: Don't confuse users do_each_thread.
- Index(es):