Re: [PATCH 6/8] rbtree: Implement generic latch_tree
From: Andrew Morton
Date: Thu Mar 19 2015 - 17:47:42 EST
On Thu, 19 Mar 2015 17:36:36 -0400 Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> On Thu, 19 Mar 2015 13:58:33 -0700
> Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> > OK. This code is basically required to support perf/ftrace and
> > modules, yes? Presumably small and space-constrained systems aren't
> > using either, so they don't take the hit.
> >
> > However CONFIG_MODULES systems which aren't using perf/ftrace _do_ take
> > a hit. How many systems are we talking here? All non-x86?
>
> Compromise... (Totally untested)
>
> ...
>
> +config RBTREE_LATCH_INLINE
> + def_bool y
> + depends on PERF_EVENTS || TRACING
Should this be PERF_EVENTS, or PERF_EVENTS_NMI?
Could we just keep the old __module_address() for these configs? It's
only 10 lines..
--
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/