Re: [RFC][PATCH] Add prctl to set sibling thread names
From: Andi Kleen
Date: Wed Oct 21 2009 - 20:29:03 EST
On Wed, Oct 21, 2009 at 04:21:37PM -0700, john stultz wrote:
>
> Taking a very raw attempt at this, I scratched out the following simple
> implementation. I'd appreciate any review or suggestions for
> improvements. I'm not at all certain the passing of the thread pid_t
> through the unsigned long is valid, for instance, or if
> same_thread_group() is the right check to make sure we only change
> siblings and not tid from other processes. So any advice on better
> approaches would be great.
First though that comes to mind is that this should not be in prctl()
-Andi
--
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/