Re: [PATCH] de_thread: Don't confuse users do_each_thread.

From: Andrew Morton
Date: Tue Apr 11 2006 - 02:24:17 EST


Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>
> 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

plop, plop.

> Then we need this "patch" for de_thread:
>
> - list_add_tail_rcu(&current->tasks, &init_task.tasks);
> + list_replace_rcu(&leader->tasks, &current->tasks);
> ...
> - list_del_init(&leader->tasks);

OK, please send patch.

> Currently I don't know how the code looks in -mm tree,

http://www.zip.com.au/~akpm/linux/patches/stuff/x.bz2 is -mm-as-of-now.

> I lost the plot.

What plot?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/