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

From: Tim Abbott
Date: Wed Apr 22 2009 - 18:22:15 EST


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.

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).

-Tim Abbott

--
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/