Return-Path: Received: from mx3.mail.elte.hu (mx3.mail.elte.hu [157.181.1.138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id EA313DDDFF for ; Tue, 30 Sep 2008 19:56:25 +1000 (EST) Date: Tue, 30 Sep 2008 11:55:20 +0200 From: Ingo Molnar To: Jeremy Kerr Subject: Re: [PATCH] sputrace : use marker_synchronize_unregister() Message-ID: <20080930095520.GB7557@elte.hu> References: <48E08B05.7030802@cn.fujitsu.com> <20080929082722.GB18663@elte.hu> <20080929151147.GH11245@Krystal> <200809301028.21485.jk@ozlabs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <200809301028.21485.jk@ozlabs.org> Cc: Mathieu Desnoyers , Lai Jiangshan , Linux Kernel Mailing List , Steven Rostedt , Christoph Hellwig , linuxppc-dev@ozlabs.org, Andrew Morton , "Paul E. McKenney" , cbe-oss-dev@ozlabs.org, Peter Zijlstra List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , * Jeremy Kerr wrote: > Mathieu, > > > We need a marker_synchronize_unregister() before the end of exit() to > > make sure every probe callers have exited the non preemptible section > > and thus are not executing the probe code anymore. > > Looks good - added to spufs.git. that wont work very well as the patch relies on the new marker_synchronize_unregister() facility. Ingo