Re: perf_counters issue with self-sampling threads

From: Peter Zijlstra
Date: Thu Jul 30 2009 - 16:00:58 EST


On Thu, 2009-07-30 at 21:20 +0200, Oleg Nesterov wrote:

> Yes, this allows to send a private signal to sub-thread.
>
> But this is a bit strange, because the user can't specify it wants
> a thread-specific signal to the main thread, its tid == pid.

Ah, indeed. I'll make a patch for F_SETOWN_TID then, unless someone
comes up with a better name for the creature ;-)

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