Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756064AbZDVJRd (ORCPT ); Wed, 22 Apr 2009 05:17:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753484AbZDVJRX (ORCPT ); Wed, 22 Apr 2009 05:17:23 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:55420 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751079AbZDVJRW (ORCPT ); Wed, 22 Apr 2009 05:17:22 -0400 Date: Wed, 22 Apr 2009 11:16:45 +0200 From: Ingo Molnar To: Tim Abbott Cc: Rusty Russell , Steven Rostedt , linux-kernel@vger.kernel.org, Andrew Morton , Thomas Gleixner , Peter Zijlstra , Frederic Weisbecker , Anders Kaseorg , Jeffrey B Arnold Subject: Re: [PATCH 1/5] ftrace: use module notifier for function tracer Message-ID: <20090422091645.GB18226@elte.hu> References: <20090416021830.556671772@goodmis.org> <20090416021928.040177084@goodmis.org> <200904192055.04213.rusty@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 974 Lines: 27 * Tim Abbott wrote: > On Sun, 19 Apr 2009, Rusty Russell wrote: > > > I think you need to do something else in general. Share the module_mutex for > > the ftrace code? The ksplice guys have a similar issue, so maybe we should > > generalize this into a "kernel_text" mutex? > > Yes, a kernel_text mutex is on my list of things to propose once > Ksplice gets merged. too late :-) These bits were written 1.5 months ago and are already upstream: 3945dab: tracing, Text Edit Lock - SMP alternatives support 4460fda: tracing, Text Edit Lock - kprobes architecture independent support 0e39ac4: tracing, Text Edit Lock - Architecture Independent Code I suspect ksplice could make use of text_mutex? Ingo -- 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/