Re: [PATCH 2/4] nmi: add generic nmi tracking state

Ingo Molnar
2009-02-06T14:55:06Z

* Steven Rostedt <rostedt@goodmis.org> wrote:

> On Fri, 6 Feb 2009, Ingo Molnar wrote:
>
> >
> > * Peter Zijlstra <peterz@infradead.org> wrote:
> >
> > > On Fri, 2009-02-06 at 01:53 -0500, Steven Rostedt wrote:
> > >
> > > > This code adds an in_nmi() macro that uses the current tasks preempt count
> > > > to track when it is in NMI context. Other parts of the kernel can
> > > > use this to determine if the context is in NMI context or not.
> > > >
> > > > This code was inspired by the -rt patch in_nmi version that was
> > > > written by Peter Zijlstra.
> > >
> > > Which in turn I borrowed from Mathieu.
> >
> > Steve, could you please fix the attribution?
>
> Is it OK to rebase the branch to do so?

Sure, that's necessary.

And note that unless you base your tree against tip:tracing/ftrace i cannot
do a straight pull anyway. (your trees are usually based against tip:master
- which brings in all other branches)

Ingo