Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752407AbZG3UAw (ORCPT ); Thu, 30 Jul 2009 16:00:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752063AbZG3UAv (ORCPT ); Thu, 30 Jul 2009 16:00:51 -0400 Received: from casper.infradead.org ([85.118.1.10]:48880 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751935AbZG3UAv (ORCPT ); Thu, 30 Jul 2009 16:00:51 -0400 Subject: Re: perf_counters issue with self-sampling threads From: Peter Zijlstra To: Oleg Nesterov Cc: eranian@gmail.com, Ingo Molnar , LKML , Andrew Morton , Thomas Gleixner , Robert Richter , Paul Mackerras , Andi Kleen , Maynard Johnson , Carl Love , Corey J Ashford , Philip Mucci , Dan Terpstra , perfmon2-devel , Michael Kerrisk , roland In-Reply-To: <20090730192040.GA9503@redhat.com> References: <7c86c4470907270951i48886d56g90bc198f26bb0716@mail.gmail.com> <1248869948.6987.3083.camel@twins> <20090729221703.GA25368@redhat.com> <1248953485.6391.41.camel@twins> <20090730192040.GA9503@redhat.com> Content-Type: text/plain Date: Thu, 30 Jul 2009 22:00:03 +0200 Message-Id: <1248984003.4164.0.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 615 Lines: 15 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/