Re: [PATCH rc1-mm] de_thread: fix deadlockable process addition

From: Andrew Morton
Date: Fri Apr 07 2006 - 18:49:22 EST


Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>
> - if (likely(p->tasks.prev != LIST_POISON2))
> + if (likely(p->tasks.prev != LIST_POISON2)) {

argh.

c'mon guys, we can't put a dependency on list_head poisoning into generic
code.

We have one in detach_timer() but that's just debugging.
-
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/