Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030242AbWISQmU (ORCPT ); Tue, 19 Sep 2006 12:42:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030250AbWISQmT (ORCPT ); Tue, 19 Sep 2006 12:42:19 -0400 Received: from smtp-out.google.com ([216.239.33.17]:47271 "EHLO smtp-out.google.com") by vger.kernel.org with ESMTP id S1030242AbWISQmR (ORCPT ); Tue, 19 Sep 2006 12:42:17 -0400 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=received:message-id:date:from:user-agent: x-accept-language:mime-version:to:cc:subject:references:in-reply-to: content-type:content-transfer-encoding; b=PWx3WKfpir5ilcqDnqKFCJrx5LowKL3fJh+4Uo+7PuTzWV/LG9/0T5kYNVu0L1Xwq m9FUorxejH+fbvsmLDLNw== Message-ID: <45101DBA.7000901@google.com> Date: Tue, 19 Sep 2006 09:41:30 -0700 From: Martin Bligh User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051011) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Morton CC: "Frank Ch. Eigler" , Ingo Molnar , Mathieu Desnoyers , Paul Mundt , linux-kernel , Jes Sorensen , Tom Zanussi , Richard J Moore , Michel Dagenais , Christoph Hellwig , Greg Kroah-Hartman , Thomas Gleixner , William Cohen , ltt-dev@shafik.org, systemtap@sources.redhat.com, Alan Cox Subject: Re: [PATCH] Linux Kernel Markers References: <20060918234502.GA197@Krystal> <20060919081124.GA30394@elte.hu> <451008AC.6030006@google.com> <20060919154612.GU3951@redhat.com> <4510151B.5070304@google.com> <20060919093935.4ddcefc3.akpm@osdl.org> In-Reply-To: <20060919093935.4ddcefc3.akpm@osdl.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 663 Lines: 21 Andrew Morton wrote: > On Tue, 19 Sep 2006 09:04:43 -0700 > Martin Bligh wrote: > > >>It seems like all we'd need to do >>is "list all references to function, freeze kernel, update all >>references, continue" > > > "overwrite first 5 bytes of old function with `jmp new_function'". Yes, that's simple. but slower, as you have a double jump. Probably a damned sight faster than int3 though. M. - 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/