[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0903111001050.16494@gandalf.stny.rr.com>
Date: Wed, 11 Mar 2009 10:01:40 -0400 (EDT)
From: Steven Rostedt <rostedt@...dmis.org>
To: Frederic Weisbecker <fweisbec@...il.com>
cc: Peter Zijlstra <peterz@...radead.org>,
LKML <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [GIT PULL] tracing: use raw spinlocks for trace_vprintk
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists