Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753079AbZDVW6i (ORCPT ); Wed, 22 Apr 2009 18:58:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751607AbZDVW62 (ORCPT ); Wed, 22 Apr 2009 18:58:28 -0400 Received: from mx2.redhat.com ([66.187.237.31]:44267 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751281AbZDVW61 (ORCPT ); Wed, 22 Apr 2009 18:58:27 -0400 Message-ID: <49EFA0DE.9070407@redhat.com> Date: Wed, 22 Apr 2009 18:57:34 -0400 From: Masami Hiramatsu User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Tim Abbott CC: Ingo Molnar , Rusty Russell , Steven Rostedt , linux-kernel@vger.kernel.org, Andrew Morton , Thomas Gleixner , Peter Zijlstra , Frederic Weisbecker , Anders Kaseorg , Jeffrey B Arnold , Mathieu Desnoyers , Ananth N Mavinakayanahalli Subject: Re: [PATCH 1/5] ftrace: use module notifier for function tracer References: <20090416021830.556671772@goodmis.org> <20090416021928.040177084@goodmis.org> <200904192055.04213.rusty@rustcorp.com.au> <20090422091645.GB18226@elte.hu> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1452 Lines: 39 Tim Abbott wrote: > On Wed, 22 Apr 2009, Ingo Molnar wrote: > >> I suspect ksplice could make use of text_mutex? > > Yes, this is what I was imagining. Thanks for pointing this out! I plan > to make Ksplice use this for the next version of the Ksplice patch series. Could you also add "use text_poke() on x86" to your plan? :-) > However, since Ksplice can be built as a module, we'll want to > EXPORT_SYMBOL_GPL(text_mutex). The comment above text_mutex's definition > suggests some people would prefer not to have modules patching the kernel > text, and so this point might be contentious. I've found support for > building Ksplice as a module to be a useful feature in case one needs to > use multiple different versions of Ksplice on the same system (e.g. > because the version built in to the kernel doesn't support a particular > patch). Hmm, I can't agree that we allow module to modify kernel text... Is that possible to separate kernel-text swapping routine from Ksplice module? In that case, we don't need to export text_mutex. Thank you, -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America) Inc. Software Solutions Division e-mail: mhiramat@redhat.com -- 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/