Re: oprofile BUG() in current kernel.

From: Gianni Tedesco
Date: Tue May 13 2008 - 07:00:15 EST


On Tue, 2008-05-13 at 12:25 +0200, Eric Dumazet wrote:
> Gianni Tedesco a Ãcrit :
> >
> >
> > Nope, exact same bad paging request in kernel mode... probably the bug
> > is something deep in oprofile then?
> >
> Hum... Are you using oprofile as a module or statically included in kernel ?

Yes module

> Current module loader only allocates percpu room by examining
> ".data.percpu" section and should be augmented to also look at
> ".data.percpu.shared_aligned"
> Or, change DEFINE_PER_CPU_SHARED_ALIGNED() for modules (to use
> ".data.percpu" only)
>
> Anyway, with the per_cpu conversion of cpu_buffer, we dont need to
> request cache_line alignment anymore
>
> [PATCH] oprofile: Dont request cache line alignment for cpu_buffer

Nice theory, but with percpu + this patch, it still leads to the same
BUG trap :(

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