Re: [GIT PULL] tracing: use raw spinlocks for trace_vprintk

From: Steven Rostedt
Date: Wed Mar 11 2009 - 10:01:53 EST



On Wed, 11 Mar 2009, Steven Rostedt wrote:
>
> The above disable is exactly for NMIs. We should have preemption disabled
> here, and we disable this per cpu. If an NMI comes in after this point, it
> will exit the function without taking the lock. If it runs on another CPU,
> we really don't care. That's what NMIs are for ;-)

I have not had my first cup of coffee this morning yet. I meant to say:

That's what spinlocks are for ;-)


Bah!

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