Re: [PATCH 2/2] fix kill_proc_info() vs fork() theoretical race

From: Oleg Nesterov
Date: Thu Feb 16 2006 - 15:00:15 EST


"Paul E. McKenney" wrote:
>
> The other thing to think through is tkill on a thread/process while it
> is being created. I believe that this is OK, since thread-specific
> kill must target a specific thread, so does not do the traversal.
>

Also, tkill was not converted to use rcu_read_lock yet, it still
takes tasklist_lock, so I think it is safe.

Oleg.
-
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/