Re: [PATCH 1/2] RCU: Don't include unnecessary headers, allowkmemtrace w/ tracepoints.

From: Ingo Molnar
Date: Tue Dec 30 2008 - 02:50:28 EST



* Eduard - Gabriel Munteanu <eduard.munteanu@xxxxxxxxxxx> wrote:

> linux/percpu.h includes linux/slab.h, which generates circular inclusion
> dependencies when trying to switch kmemtrace to use tracepoints instead
> of markers. This patch allows tracing within slab headers' inline
> functions.
>
> Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@xxxxxxxxxxx>
> ---
> include/linux/rcuclassic.h | 1 -
> include/linux/rcupdate.h | 1 -
> include/linux/rcupreempt.h | 2 +-
> 3 files changed, 1 insertions(+), 3 deletions(-)

applied to tip/core/rcu, thanks Eduard!

I'll do some build coverage testing to see whether there's anything that
assumes the presence of percpu.h.

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/