Re: [PATCH 0/8] git pull request for tip/tracing/core

From: Steven Rostedt
Date: Wed Feb 11 2009 - 11:33:35 EST



On Wed, 11 Feb 2009, Ingo Molnar wrote:

>
> * Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> >
> > On Wed, 11 Feb 2009, Ingo Molnar wrote:
> >
> > >
> > > > > Steven Rostedt (7):
> > > > > ring-buffer: add NMI protection for spinlocks
> > > > > nmi: add generic nmi tracking state
> > >
> > > hm, this commit breaks a number of non-x86 architectures the following way:
> > >
> > > In file included from /home/mingo/tip/include/linux/interrupt.h:12,
> > > from /home/mingo/tip/arch/ia64/include/asm/mca.h:16,
> > > from /home/mingo/tip/arch/ia64/kernel/asm-offsets.c:17:
> > > /home/mingo/tip/include/linux/hardirq.h:67:2: #error PREEMPT_ACTIVE too high!
> > > make[2]: *** [arch/ia64/kernel/asm-offsets.s] Error 1
> > >
> > > Alpha and ARM are broken too. (and possibly others)
> >
> > I'm glad we had that check.
> >
> > OK, revert it and I'll take a look to see what other options we have.
>
> Reverting it is neither simple nor desired: 1) it's now embedded in other
> tracing commits 2) my test-boxes stopped doing those rare lockups with the
> NMI fix in place ...

OK, I was thinking about coming up with another fix.

I'll have to look at the other archs and see what we can do to make this
work for all.

>
> Any better approach to fix those platforms? I reported this ftrace NMI problem
> to you about a year ago ...

Yeah, and I just found the bug ;-)


-- Steve

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