Re: [PATCH 1/5] ftrace: use module notifier for function tracer

From: Ingo Molnar
Date: Wed Apr 22 2009 - 05:17:34 EST



* Tim Abbott <tabbott@xxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/