From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B20A9DE1F8 for ; Wed, 20 Aug 2008 07:48:23 +1000 (EST) Subject: Re: ftrace introduces instability into kernel 2.6.27(-rc2,-rc3) From: Benjamin Herrenschmidt To: Mathieu Desnoyers In-Reply-To: <20080819173453.GA28239@Krystal> References: <48A9901B.1080900@redhat.com> <20080818154746.GA26835@Krystal> <48A9AFA7.8080508@freescale.com> <1219110814.8062.2.camel@pasglop> <1219113549.8062.13.camel@pasglop> <20080819024707.GA22659@Krystal> <20080819173453.GA28239@Krystal> Content-Type: text/plain Date: Wed, 20 Aug 2008 07:47:51 +1000 Message-Id: <1219182471.7826.16.camel@pasglop> Mime-Version: 1.0 Cc: "Paul E. McKenney" , linux-kernel@vger.kernel.org, Steven Rostedt , linuxppc-dev@ozlabs.org, Steven Rostedt , Scott Wood , Eran Liberty Reply-To: benh@kernel.crashing.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > > Ok, there are two cases where it's ok : > > 1 - in stop_machine, considering we are not touching code executed in > NMI handlers. > 2 - when using my replace_instruction_safe() which uses a temporary > breakpoint when doing the instruction replacement. > > In those cases you could use text_poke_early(). Note that vmap/vunmap will be very slow. Ben.