From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frederic Weisbecker Subject: Re: linux-next: add utrace tree Date: Wed, 27 Jan 2010 17:01:06 +0100 Message-ID: <20100127160103.GB22447@nowhere> References: <1264575134.4283.1983.camel@laptop> <1264589716.4283.2006.camel@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-ew0-f219.google.com ([209.85.219.219]:48766 "EHLO mail-ew0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755328Ab0A0QBM (ORCPT ); Wed, 27 Jan 2010 11:01:12 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-next-owner@vger.kernel.org List-ID: To: Linus Torvalds Cc: Peter Zijlstra , Tom Tromey , Kyle Moffett , "Frank Ch. Eigler" , Oleg Nesterov , Andrew Morton , Stephen Rothwell , LKML , Steven Rostedt , Arnaldo Carvalho de Melo , linux-next@vger.kernel.org, "H. Peter Anvin" , utrace-devel@redhat.com, Thomas Gleixner , JimKeniston On Wed, Jan 27, 2010 at 03:04:58AM -0800, Linus Torvalds wrote: > > > On Wed, 27 Jan 2010, Peter Zijlstra wrote: > > > > Right, so there's two aspects: > > > > 1) concurrency when inserting the probe > > That's the one I worried about. Stopping all threads will fix it, > obviously at a disastrous performance cost, but what do I care? As noted, > there are ways to do it safely with TLB switching, so it's fixable. That said, inserting a probe is supposed to be a pretty rare operation, stopping all threads in a process shouldn't be painful for this aspect.