From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754309AbZBQRYr (ORCPT ); Tue, 17 Feb 2009 12:24:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753911AbZBQRYh (ORCPT ); Tue, 17 Feb 2009 12:24:37 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.125]:60679 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752686AbZBQRYg (ORCPT ); Tue, 17 Feb 2009 12:24:36 -0500 Date: Tue, 17 Feb 2009 12:24:34 -0500 (EST) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Mathieu Desnoyers cc: Masami Hiramatsu , Nick Piggin , Peter Zijlstra , akpm , linux-kernel , Ingo Molnar , Ananth N Mavinakayanahalli , Jim Keniston Subject: Re: irq-disabled vs vmap vs text_poke In-Reply-To: <20090217171845.GA14435@Krystal> Message-ID: References: <4995B88C.2090900@redhat.com> <20090213185725.GC7124@Krystal> <4995E925.3080506@redhat.com> <4999808B.5080505@redhat.com> <20090216153145.GB19182@wotan.suse.de> <20090216172441.GA12576@Krystal> <499A1A43.6000009@redhat.com> <20090217030353.GA31504@wotan.suse.de> <499AEA72.9090702@redhat.com> <20090217171845.GA14435@Krystal> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 17 Feb 2009, Mathieu Desnoyers wrote: > > > > Anyway dynamic ftrace only need to do code patching at early boot, > right? Or do you need also to patch the call sites a bit later too ? > Because there is a text_poke_early for that purpose : modifying code > when it is still writable. It modifies the code both at early boot up, and when it is enabled later on at run time. -- Steve